Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user