Files
x03da/script/optics/ExitSlitScanScienta.py
2022-02-03 12:47:05 +01:00

16 lines
440 B
Python

"""
exit slit scan with Scienta acquisition
"""
POSITIONERS = (ExitSlit)
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix)
POSITIONS = [50, 100, 200, 400, 800]
LATENCY = 5.0
adjust_sensors()
set_adc_averaging()
set_exec_pars(compression=True)
vscan(POSITIONERS, SENSORS, POSITIONS, latency=LATENCY, before_read=before_readout, after_read=after_readout)
after_scan()