Script execution

This commit is contained in:
gac-x03da
2023-05-05 21:29:56 +02:00
parent 2da84cc727
commit b11048cd23

View File

@@ -48,26 +48,39 @@ LATENCY = 0.0
# 'slit': exit slit (default: unchanged)
# 'position': 'reference' or 'sample'
REFERENCE_POSITION = {'X': 3.40,'Y': 8.10, 'Z': 114.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
SAMPLE_POSITION = {'X': 3.40,'Y': 3.00, 'Z': 114.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
REFERENCE_POSITION = {'X': 2.30,'Y': 7.60, 'Z': 114.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
SAMPLE_POSITION = {'X': 2.30,'Y': 3.00, 'Z': 114.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
# DEFINE THE REGIONS
# -- Region B @ 578 eV (G2 1200)
REGION_B1 = {'name': 'MoEF', 'ephot': 578., 'elo': 572., 'ehi':575., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_B2 = {'name': 'In4d', 'elo': 551., 'ehi':559., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B3 = {'name': 'As3d', 'elo': 529., 'ehi':535., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B4 = {'name': 'In3d', 'elo': 118., 'ehi':133., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region A @ 578 eV (G2 1200)
REGION_A1 = {'name': 'MoEF', 'ephot': 578., 'elo': 572., 'ehi':575., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_A2 = {'name': 'In4d', 'elo': 551., 'ehi':559., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A3 = {'name': 'As3d', 'elo': 529., 'ehi':535., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A4 = {'name': 'In3d', 'elo': 118., 'ehi':133., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A5 = {'name': 'Al2p', 'elo': 496., 'ehi':503., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A6 = {'name': 'Survey', 'elo': 468., 'ehi':578., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region B @ 750 eV (G2 1200)
REGION_B1 = {'name': 'MoEF', 'ephot': 750., 'elo': 745., 'ehi':747, 'estep':0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_B2 = {'name': 'In4d', 'elo': 725., 'ehi':731., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B3 = {'name': 'As3d', 'elo': 702., 'ehi':707., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B4 = {'name': 'In3d', 'elo': 290., 'ehi':205., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B5 = {'name': 'Al2p', 'elo': 668., 'ehi':675., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B6 = {'name': 'Survey', 'elo': 640., 'ehi':750., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 1050 eV (G2 1200)
REGION_C1 = {'name': 'MoEF', 'ephot': 1050., 'elo': 1045., 'ehi':1047, 'estep':0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_C2 = {'name': 'In4d', 'elo': 1025., 'ehi':1031., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C3 = {'name': 'As3d', 'elo': 1002., 'ehi':1007., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C4 = {'name': 'In3d', 'elo': 590., 'ehi':605., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C5 = {'name': 'Al2p', 'elo': 968., 'ehi':975., 'estep':0.02, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C6 = {'name': 'Survey', 'elo': 940., 'ehi':1050., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# CHOOSE THE REGIONS TO RUN
## (G1 600)
# REGIONS = [REGION_A1,REGION_A2,REGION_A3,REGION_A4]
## (G2 1200)
REGIONS = [REGION_B1,REGION_B2,REGION_B3,REGION_B4,REGION_C1,REGION_C2,REGION_C3,REGION_C4]
REGIONS = [REGION_A1,REGION_A2,REGION_A3,REGION_A4,REGION_A5,REGION_A6,REGION_B1,REGION_B2,REGION_B3,REGION_B4,REGION_B5,REGION_B6,REGION_C1,REGION_C2,REGION_C3,REGION_C4,REGION_C5,REGION_C6]
# close beam shutter and turn off analyser at the end of the scan
# True or False