diff --git a/script/optics/MonoHGRScan.py b/script/optics/MonoHGRScan.py new file mode 100644 index 00000000..c4f5000b --- /dev/null +++ b/script/optics/MonoHGRScan.py @@ -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')