Script execution

This commit is contained in:
gac-x03da
2022-02-03 17:29:29 +01:00
parent 85b05ff688
commit 1e577926d1
+13
View File
@@ -0,0 +1,13 @@
"""
monochromator HGR scan with Scienta acquisition
"""
POSITIONERS = ('ca://X03DA-PGM:HGR')
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, Scienta.dataMatrix)
LATENCY = 5.0
adjust_sensors()
set_adc_averaging()
set_exec_pars(compression=True)
lscan(POSITIONERS, SENSORS, [53.0], [93.0], [5.0], latency=LATENCY, before_read=before_readout, after_read=after_readout, name='HGR')