Script execution

This commit is contained in:
gac-x03da
2023-06-21 22:04:28 +02:00
parent d89c889fcf
commit 0ae7423166
+10 -4
View File
@@ -25,7 +25,7 @@ MOTORS = [dummy]
#MOTORS = [ManipulatorY, ManipulatorZ]
# line scan [start, stop, step]
POSITIONS = [0., 3., 1.]
POSITIONS = [0., 1., 1.]
SCAN = 'lscan'
# vector scan [pos1, pos2, pos3, ...]
@@ -69,9 +69,15 @@ LATENCY = 1.0
# 'cis': True = constant initial state (photoemission line), False = constant final state (Auger peak), (default False)
# 'slit': exit slit (default: unchanged)
REGION1 = {'name': 'Peak 1', 'elo': 554.00, 'ehi': 565.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1, 'ephot': 650.}
REGION2 = {'name': 'multiplet 1', 'elo': 128.00, 'ehi': 141.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1, 'ephot': 425.}
#REGION3 = {'name': 'multiplet 2', 'elo': 173.5, 'ehi': 176.8, 'estep': 0.03, 'epass': 50., 'tstep': 0.12, 'iter': 1}
# Script that changes the hv for the two regions:
#REGION1 = {'name': 'Peak 1', 'elo': 554.00, 'ehi': 565.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1, 'ephot': 650.}
#REGION2 = {'name': 'Peak 2', 'elo': 128.00, 'ehi': 141.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1, 'ephot': 425.}
#REGION3 = {'name': 'Peak 3', 'elo': 173.5, 'ehi': 176.8, 'estep': 0.03, 'epass': 50., 'tstep': 0.12, 'iter': 1}
# Script that uses the same hv for all the regions:
REGION1 = {'name': 'Peak 1', 'elo': 329.00, 'ehi': 340.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1}
REGION2 = {'name': 'Peak 2', 'elo': 128.00, 'ehi': 141.00, 'estep': 0.2, 'epass': 20., 'tstep': 0.4, 'iter': 1}
#REGION3 = {'name': 'Peak 3', 'elo': 173.5, 'ehi': 176.8, 'estep': 0.03, 'epass': 50., 'tstep': 0.12, 'iter': 1}
# list of region dictionaries to execute at each scan position
REGIONS = [REGION1, REGION2]