Script execution
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
scan_start = 9.0
|
||||
scan_stop = 9.2
|
||||
scan_step = 0.002
|
||||
passes = 1
|
||||
zigzag = False
|
||||
|
||||
setup_plotting(range = "auto")
|
||||
|
||||
@@ -28,10 +30,11 @@ class ECalc(Readable):
|
||||
return 12.39842 / (crystal.take() * math.sin( math.radians(bragg.readback.take())))
|
||||
|
||||
e_calc = ECalc()
|
||||
sensors = [RegisterCache(crystal), i0, i1, i2, ref, abs_calc, e_calc]
|
||||
sensors = [crystal, i0, i1, i2, ref, abs_calc, e_calc]
|
||||
|
||||
bragg.move(scan_start)
|
||||
#caput("X10DA-OP-MO3:ROX.URIP", 'No')
|
||||
scaler.start()
|
||||
|
||||
r1 = hscan(crlogic_config, bragg, sensors, scan_start, scan_stop, scan_step, passes=2, zigzag=True)
|
||||
r1 = hscan(crlogic_config, bragg, sensors, scan_start, scan_stop, scan_step, passes=passes, zigzag=zigzag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user