Script execution

This commit is contained in:
gac-x03da
2023-05-05 18:09:15 +02:00
parent 00d5b6dba1
commit 20bdb0f1ea

View File

@@ -48,21 +48,44 @@ 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 A @ 70 eV (G1 600)
REGION_1 = {'name': 'MoEF', 'ephot': 70., 'elo': 64., 'ehi':67., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_2 = {'name': 'In4d', 'elo': 44., 'ehi':51., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_3 = {'name': 'As3d', 'elo': 21., 'ehi':27., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_4 = {'name': 'Survey', 'elo': 10., 'ehi':70., 'estep':0.10, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A1 = {'name': 'MoEF', 'ephot': 70., 'elo': 63., 'ehi':68., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_A2 = {'name': 'In4d', 'elo': 44., 'ehi':51., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_A3 = {'name': 'As3d', 'elo': 21., 'ehi':27., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region B @ 150 eV (G1 600)
REGION_B1 = {'name': 'MoEF', 'ephot': 150., 'elo': 143., 'ehi':146., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_B2 = {'name': 'In4d', 'elo': 124., 'ehi':131., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B3 = {'name': 'As3d', 'elo': 101., 'ehi':107., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B4 = {'name': 'Survey', 'elo': 40., 'ehi':150., 'estep':0.10, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_B5 = {'name': 'Al2p', 'elo': 68., 'ehi':75., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 350 eV (G1 600)
REGION_C1 = {'name': 'MoEF', 'ephot': 350., 'elo': 343., 'ehi':346., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_C2 = {'name': 'In4d', 'elo': 324., 'ehi':331., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C3 = {'name': 'As3d', 'elo': 301., 'ehi':307., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C4 = {'name': 'Survey', 'elo': 240., 'ehi':350., 'estep':0.10, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C5 = {'name': 'Al2p', 'elo': 268., 'ehi':275., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region D @ 550 eV (G1 600)
REGION_D1 = {'name': 'MoEF', 'ephot': 550., 'elo': 543., 'ehi':546., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_D2 = {'name': 'In4d', 'elo': 524., 'ehi':531., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D3 = {'name': 'As3d', 'elo': 501., 'ehi':507., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D4 = {'name': 'Survey', 'elo': 440., 'ehi':550., 'estep':0.10, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D5 = {'name': 'Al2p', 'elo': 468., 'ehi':475., 'estep':0.02, 'epass': 20., 'tstep': 1.0, '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_1,REGION_2,REGION_3,REGION_4]
## REGIONS = [REGION_A1,REGION_A2,REGION_A3,REGION_A4]
## (G1 600) - Full photon energy dependence
REGIONS = [REGION_A1,REGION_A2,REGION_A3,...
REGION_B1,REGION_B2,REGION_B3,REGION_B4,REGION_B5,...
REGION_C1,REGION_C2,REGION_C3,REGION_C4,REGION_C5,...
REGION_D1,REGION_D2,REGION_D3,REGION_D4,REGION_D5]
# close beam shutter and turn off analyser at the end of the scan
# True or False