Script execution

This commit is contained in:
gac-x03da
2023-03-24 18:28:41 +01:00
parent ec0f309e43
commit 68424db1da

View File

@@ -14,19 +14,19 @@ usage:
"""
# dummy scan (time series)
MOTORS = [dummy]
#MOTORS = [dummy]
# photon energy scan (do not include 'ephot' in regions in this case!)
#MOTORS = [Eph]
# phi scan
#MOTORS = [ManipulatorPhi]
# holo scan
#MOTORS = (ManipulatorPhi, ManipulatorTheta)
MOTORS = (ManipulatorPhi, ManipulatorTheta)
# 2D YZ scan
#MOTORS = [ManipulatorY, ManipulatorZ]
# line scan [start, stop, step]
POSITIONS = [0., 5., 0.5]
SCAN = 'lscan'
#POSITIONS = [0., 5., 0.5]
#SCAN = 'lscan'
# vector scan [pos1, pos2, pos3, ...]
#POSITIONS = [200., 300., 400., 500.]
@@ -39,12 +39,12 @@ SCAN = 'lscan'
#SCAN = 'ascan'
# holo scan
#PHI_RANGE = (-160.0, 160.0) # (tuple (min, max))
#THETA_RANGE = (-9.0, 81.0) # (tuple (min, max))
#STEPS = (40.0, 1.0) # (tuple (phi, theta))
#ZIGZAG = True
#POSITIONS = [(PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS]
#SCAN = 'ascan'
PHI_RANGE = (-170.0, 170.0) # (tuple (min, max))
THETA_RANGE = (-9.0, 81.0) # (tuple (min, max))
STEPS = (20.0, 1.0) # (tuple (phi, theta))
ZIGZAG = True
POSITIONS = [(PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS]
SCAN = 'ascan'
# seconds to wait between positioning command and triggering the detector
LATENCY = 0.0
@@ -69,14 +69,14 @@ LATENCY = 0.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', 'efix': 200., 'epass': 50., 'tstep': 2., 'iter': 1, 'cis': False}
REGION2 = {'name': 'peak 2', 'efix': 300., 'epass': 50., 'tstep': 3., 'iter': 1, 'cis': False}
REGION1 = {'name': 'Te 4d', 'efix': 754.8, 'epass': 50., 'tstep': 15., 'iter': 1, 'cis': False}
REGION2 = {'name': 'Sn 4d', 'efix': 770.7, 'epass': 50., 'tstep': 15., 'iter': 1, 'cis': False}
# list of region dictionaries to execute at each scan position
REGIONS = [REGION1, REGION2]
# close beam shutter and turn off analyser at the end of the scan
CLOSE_SHUTTER_AT_END = False
CLOSE_SHUTTER_AT_END = True
# --- DO NOT EDIT BELOW THIS LINE! ---