Transcript
Page 1: Data Analysis Program

Data Analysis Program

Page 2: Data Analysis Program

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

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

Finding The Track

Page 5: Data Analysis Program

Finding The Track

Page 6: Data Analysis Program

Points of Tangency

))sin(),cos((

))sin(),cos((

2222

1111

ryrxB

ryrxA

A

B

Page 7: Data Analysis Program

Tangent Line Slope

• Slope of radial line:

• Slope of tangent:

).

.()tan(Adj

Opp

)tan(

1

m

x

ym

or

Page 8: Data Analysis Program

Equation)()( 1212 yxmyy

)))cos(((tan

1)())sin((( 122122 xrxyry

Page 9: Data Analysis Program
Page 10: Data Analysis Program
Page 11: Data Analysis Program
Page 12: Data Analysis Program
Page 13: Data Analysis Program
Page 14: Data Analysis Program
Page 15: Data Analysis Program
Page 16: Data Analysis Program
Page 17: Data Analysis Program
Page 18: Data Analysis Program
Page 19: Data Analysis Program
Page 20: Data Analysis Program
Page 21: Data Analysis Program
Page 22: Data Analysis Program
Page 23: Data Analysis Program
Page 24: Data Analysis Program
Page 25: Data Analysis Program
Page 26: Data Analysis Program
Page 27: Data Analysis Program
Page 28: Data Analysis Program
Page 29: Data Analysis Program

)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

Top Related