Script execution
This commit is contained in:
@@ -7,7 +7,6 @@ caput("X10DA-ES-SCALER.CONT", 0)
|
||||
caput("X10DA-ES1:START-CSMPL", 1)
|
||||
caput("X10DA-ES1:TOTAL-CYCLES", 5)
|
||||
caput("X10DA-ES1:SMPL-BTN", 1)
|
||||
|
||||
|
||||
bragg = CrlogicPositioner("bragg", "X10DA-OP-MO3:ROX", None);
|
||||
|
||||
@@ -24,7 +23,7 @@ class ECalc(Readable):
|
||||
class ECalc(Readable):
|
||||
def read(self):
|
||||
return 12.39842 / ( crystal.take() * math.sin( math.radians(bragg.take())) )
|
||||
e_calc = ECalc()
|
||||
e_calc = ECalc()
|
||||
|
||||
|
||||
sensors = [crystal, i0, i1, i2, ref, abs_calc, e_calc]
|
||||
|
||||
Reference in New Issue
Block a user