Files
x03da/script/users/sandy/xps-multiple-positions.py
gac-x03da 407f7d5b48 Startup
2023-08-26 23:37:40 +02:00

21 lines
756 B
Python

MOTORS = [ManipulatorY, ManipulatorZ]
POSITIONS = [(1.6991, 117.32), (1.6185, 117.24)]
LATENCY = 0.0
ENDSCAN = False
ZIGZAG = False
#SENSORS = (Counts, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
#SENSORS = (Counts, Scienta.dataMatrix, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
SENSORS = (Counts, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
adjust_sensors()
set_adc_averaging()
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
set_exec_pars(compression=True)
vscan(MOTORS, SENSORS, POSITIONS, False, latency,False, before_read=wait_beam, after_read = after_readout)