Data Analysis Program
description
Transcript of Data Analysis Program
![Page 1: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/1.jpg)
Data Analysis Program
![Page 2: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/2.jpg)
Input
• The program receives input from the labview program
• The data is in decimal format in a .txt file
• Each set of two rows is an event
• The first row represents the tube number
• The second row holds the time that the signal was received from the tube.
• 0 0 0 4 0 6 7 0 9 0 • 0 0 0 3 0 8 9 0 11 0
• 1 0 3 0 5 0 0 9 0 0• 16 0 3 0 8 0 0 10 0
• 0 2 3 0 6 0 9 0 0 0• 0 8 7 0 2 0 10 0 0 0
![Page 3: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/3.jpg)
Output
• Our goal is to output/display graphs of the muon’s track through the chambers.
• The program will display these on the console and output them to a storage folder
![Page 4: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/4.jpg)
Finding The Track
![Page 5: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/5.jpg)
Finding The Track
![Page 6: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/6.jpg)
Points of Tangency
))sin(),cos((
))sin(),cos((
2222
1111
ryrxB
ryrxA
A
B
![Page 7: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/7.jpg)
Tangent Line Slope
• Slope of radial line:
• Slope of tangent:
).
.()tan(Adj
Opp
)tan(
1
m
x
ym
or
![Page 8: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/8.jpg)
Equation)()( 1212 yxmyy
)))cos(((tan
1)())sin((( 122122 xrxyry
![Page 9: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/9.jpg)
![Page 10: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/10.jpg)
![Page 11: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/11.jpg)
![Page 12: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/12.jpg)
![Page 13: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/13.jpg)
![Page 14: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/14.jpg)
![Page 15: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/15.jpg)
![Page 16: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/16.jpg)
![Page 17: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/17.jpg)
![Page 18: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/18.jpg)
![Page 19: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/19.jpg)
![Page 20: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/20.jpg)
![Page 21: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/21.jpg)
![Page 22: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/22.jpg)
![Page 23: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/23.jpg)
![Page 24: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/24.jpg)
![Page 25: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/25.jpg)
![Page 26: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/26.jpg)
![Page 27: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/27.jpg)
![Page 28: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/28.jpg)
![Page 29: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/29.jpg)
)tan(
1
m
6
5
4
3
1211
21
6
5
4
3
1121
12
2
1
1211
12
180
180
)(tan)(cos
:3_
)(
180
180
)(tan)(cos
:2_
)(
180
360
)(cos)(tan
:1_
)(
x
y
d
rr
CASE
rrIf
x
y
d
rr
CASE
rrIf
d
rr
x
y
CASE
xxIf
)))cos(()())sin((( 12221222 xrxmyry
360
360
180
180
)(tan)(cos
:3_
)(
360
360
180
180
)(tan)(cos
:2_
)(
180
)(cos)(tan
:1_
)(
6
5
4
3
1211
21
6
5
4
3
1121
12
2
1
1211
21
x
y
d
rr
CASE
rrIf
x
y
d
rr
CASE
rrIf
d
rr
x
y
CASE
xxIf
Looks All Good
![Page 30: Data Analysis Program](https://reader035.fdocuments.us/reader035/viewer/2022070416/56815123550346895dbf410a/html5/thumbnails/30.jpg)