Script execution

This commit is contained in:
gac-x03da
2023-05-08 21:02:54 +02:00
parent 124e022659
commit 90360c6a62

View File

@@ -48,26 +48,32 @@ LATENCY = 0.0
# 'slit': exit slit (default: unchanged)
# 'position': 'reference' or 'sample'
REFERENCE_POSITION = {'X': 2.10,'Y': 8.00, '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.}
REFERENCE_POSITION = {'X': 2.15,'Y': 7.00, 'Z': 114.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
SAMPLE_POSITION = {'X': 2.15,'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 A @ 578 eV Survey
REGION_A1 = {'name': 'MoEF', 'ephot': 578., 'elo': 572., 'ehi':575., 'estep':0.02, 'epass': 50., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_A2 = {'name': 'Survey', 'elo': 410., 'ehi':578., 'estep':0.05, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region B @ 578 eV Peaks
REGION_B1 = {'name': 'MoEF', 'ephot': 578., 'elo': 572., 'ehi':575., 'estep': 0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_B2 = {'name': 'In4d', 'elo': 551., 'ehi':559., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B3 = {'name': 'As3d', 'elo': 529., 'ehi':535., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B4 = {'name': 'In3d', 'elo': 118., 'ehi':133., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 1050 eV (G2 1200)
REGION_C1 = {'name': 'MoEF', 'ephot': 1050., 'elo': 1044., 'ehi':1047., 'estep':0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_C2 = {'name': 'In4d', 'elo': 1024., 'ehi':1032., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C3 = {'name': 'As3d', 'elo': 1001., 'ehi':1008., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C4 = {'name': 'In3d', 'elo': 590., 'ehi':605., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region D @ 1050 eV (G2 1200)
REGION_D1 = {'name': 'MoEF', 'ephot': 1050., 'elo': 1044., 'ehi':1047., 'estep':0.02, 'epass': 50., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_D2 = {'name': 'Survey', 'elo': 300., 'ehi':1050., 'estep':0.20, 'epass': 50., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region D @ 1050 eV Survey
REGION_C1 = {'name': 'MoEF', 'ephot': 1050., 'elo': 1044., 'ehi':1047., 'estep':0.02, 'epass': 50., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_C2 = {'name': 'Survey', 'elo': 300., 'ehi':1050., 'estep':0.20, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 1050 eV Peaks
REGION_D1 = {'name': 'MoEF', 'ephot': 1050., 'elo': 1044., 'ehi':1047., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_D2 = {'name': 'In4d', 'elo': 1024., 'ehi':1032., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D3 = {'name': 'As3d', 'elo': 1001., 'ehi':1008., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D4 = {'name': 'In3d', 'elo': 590., 'ehi':605., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# CHOOSE THE REGIONS TO RUN
REGIONS = [REGION_B1,REGION_B2,REGION_B3,REGION_B4,REGION_C1,REGION_C2,REGION_C3,REGION_C4,REGION_D1,REGION_D2]
REGIONS = [REGION_A1,REGION_A2,REGION_B1,REGION_B2,REGION_B3,REGION_B4,REGION_C1,REGION_C2,REGION_D1,REGION_D2,REGION_D3,REGION_D4]
# close beam shutter and turn off analyser at the end of the scan
# True or False