Script execution

This commit is contained in:
gac-x03da
2023-06-22 14:59:24 +02:00
parent 9325127d5d
commit 280eb81447

View File

@@ -25,7 +25,7 @@ MOTORS = [dummy]
#MOTORS = [ManipulatorY, ManipulatorZ]
# line scan [start, stop, step]
POSITIONS = [0., 72., 1.]
POSITIONS = [0., 40., 1.]
SCAN = 'lscan'
# vector scan [pos1, pos2, pos3, ...]
@@ -75,12 +75,12 @@ LATENCY = 1.0
#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': 'Sn3d', 'elo': 145.00, 'ehi': 165.00, 'estep': 0.05, 'epass': 20., 'tstep': 0.4, 'iter': 1}
REGION2 = {'name': 'Au4f', 'elo': 554.00, 'ehi': 565.00, 'estep': 0.05, 'epass': 20., 'tstep': 0.4, 'iter': 1}
REGION3 = {'name': 'Se3d', 'elo': 586.00, 'ehi': 596.00, 'estep': 0.05, 'epass': 20., 'tstep': 0.4, 'iter': 1}
REGION1 = {'name': 'O1s', 'elo': 107.00, 'ehi': 116.00, 'estep': 0.05, 'epass': 20., 'tstep': 4, 'iter': 1}
REGION2 = {'name': 'C1s', 'elo': 353.00, 'ehi': 364.00, 'estep': 0.05, 'epass': 20., 'tstep': 4, 'iter': 1}
#REGION3 = {'name': 'Se3d', 'elo': 586.00, 'ehi': 596.00, 'estep': 0.05, 'epass': 20., 'tstep': 0.4, 'iter': 1}
# list of region dictionaries to execute at each scan position
REGIONS = [REGION1, REGION2, REGION3]
REGIONS = [REGION1, REGION2]
# close beam shutter and turn off analyser at the end of the scan
CLOSE_SHUTTER_AT_END = True