Files
x03da/script/optics/ScientaSensitivityScan.py
2019-08-13 16:36:23 +02:00

19 lines
673 B
Python

"""
scienta sensitivity scan
sample: Au poly
scienta: Ekin = 320 eV (flat background), Epass = 50 eV, EA-SL = 700 (1 mm), tdwell = 1..10 s
beam line: Ephot = 800 eV G1200, FE = 1x1..4x6, EX-SL = 0..500
"""
POSITIONERS = (ExitSlit)
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix)
POSITIONS = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 140, 160, 180, 200, 250, 300, 350, 400, 450, 500]
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()