Getting the Code
(this software courtesy of Anton Lindahl)
git clone https://github.com/aolindahl/polarization-monitor.git
To see how to run the code, look at the README.md file in the polarization-monitor directory.
EPICS Variables
Polarization information: ( AMO:CB:POL )
PV of length 5 x 120 = 600
[fiducial, degree of circular polarization, uncertainty in the polarization degree, angle of residual linear polarization, uncertainty of the angle] x120
Detector amplitude information: (AMO:CB:DET )
PV of length 17 x 120 = 2040.
[fiducial, detector 1 amplitude, detector 2 amplitude, =85, detector 16 amplitude] x 120
Photon energy information: (AMO:CB:PE )
PV of length 3 x 120 = 360
[fiducial, spectral center off mass, spectral width] x 120
Energy spectrum: (AMO:CB:ES )
PV length: 2 + 1024 = 1026
[energy of first point, energy step, 1024 x [amplitude value]]
Electron Energy (AMO:CB:EBEAM )
Array of 240
[fiducial, EBEAM] x 120
sanity check : copy of machine EBEAM