Script execution

This commit is contained in:
x10daop
2017-01-19 10:42:37 +01:00
parent 80d7ed4d1e
commit 6a31ae5478

View File

@@ -18,12 +18,11 @@ abs_calc = AbsCalc()
abs_calc = AbsCalc()
class ECalc(Readable):
def read(self):
return 12.39842 / ( crystal.take() * math.sin( math.radians(bragg.take())) )
e_calc = ECalc()
def read(self):
return 12.39842 / ( crystal.take() * math.sin( math.radians(bragg.take())) )
e_calc = ECalc()
sensors = [crystal, i0, i1, i2, ref, abs_calc, e_calc]
sensors = [crystal, i0, i1, i2, ref, abs_calc, e_calc]
bragg.initialize()
bragg.move(12.3)