From cd9c472ce2ed61dd69b2738bde7264005effd335 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Mon, 12 Aug 2019 16:49:36 +0200 Subject: [PATCH] Script execution --- script/optics/ScientaSensitivityScan.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 script/optics/ScientaSensitivityScan.py diff --git a/script/optics/ScientaSensitivityScan.py b/script/optics/ScientaSensitivityScan.py new file mode 100644 index 00000000..3245de21 --- /dev/null +++ b/script/optics/ScientaSensitivityScan.py @@ -0,0 +1,19 @@ +""" +scienta sensitivity scan + +sample: Au poly +scienta: Ekin = 320 eV (flat background), Epass = 50 eV, EA-SL = 900 (5 mm), tdwell = 1 s +beam line: Ephot = 800 eV G1200, FE = 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 +DWELL = 1.0 + +adjust_sensors() +set_adc_averaging() +set_exec_pars(compression=True) +vscan(POSITIONERS, SENSORS, POSITIONS, LATENCY, before_read=before_readout, after_read=after_readout) +after_scan()