Photon Counting Experiment
Photomultiplier Tube Lab Instructions
stat1.pdf “Errors and Statistics”
(52 pages, by James Graham)
Probablility Distribution & Error” (42 pages, PowerPoint by James
Data can be aquired through IDL with the function savephotons.
result = savephotons(nsamples=200, dt=1,filename='data.txt')
result = 0 (if no data was saved)
result = 1 (if data was saved)
"savephotons" will request data from the Linux computer “rphot”.
The data file will be a text file with a single column of integers. The
number of integers will equal nsamples. Each integer represents the
total photons counted during a period of dt.
nsamples = 100
dt = 1 (ms)
filename = 'photons.nsamples.dt.txt'
0 < nsamp < 5e5
0.2 < dt
0 <= counts < 65535
ISSUE (error making connection):
If result = savephotons = 0 and there is a message "error making connection", then
rphot doesn't have its server running.
To start the server on rphot:
- ssh firstname.lastname@example.org
UC Berkeley Astronomy