Script execution

This commit is contained in:
gac-x03da
2023-06-12 08:58:24 +02:00
parent 047e12d494
commit b4bc8cbae6

View File

@@ -48,46 +48,46 @@ LATENCY = 0.0
# 'slit': exit slit (default: unchanged)
# 'position': 'reference' or 'sample'
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.}
SAMPLE_POSITION = {'X': 2.15,'Y': 3.00, 'Z': 115.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
REFERENCE_POSITION = {'X': 2.00,'Y': 7.00, 'Z': 113.00, 'Theta': -9., 'Tilt': -2.0, 'Phi': -90.}
# DEFINE THE REGIONS
# -- Region A @ 70 eV (G1 600)
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_A2 = {'name': 'In4d', 'elo': 44., 'ehi':51., 'estep':0.02, 'epass': 20., 'tstep': 0.5, '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':148., '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_B2 = {'name': 'In4d', 'elo': 124., 'ehi':131., 'estep':0.02, 'epass': 20., 'tstep': 0.5, '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': 0.1, '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 E @ 250 eV (G1 600)
REGION_C1 = {'name': 'MoEF', 'ephot': 250., 'elo': 243., 'ehi':248., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_C2 = {'name': 'In4d', 'elo': 224., 'ehi':231., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C2 = {'name': 'In4d', 'elo': 224., 'ehi':231., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C3 = {'name': 'As3d', 'elo': 201., 'ehi':207., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C4 = {'name': 'Survey', 'elo': 140., 'ehi':250., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_C5 = {'name': 'Al2p', 'elo': 168., 'ehi':175., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 350 eV (G1 600)
REGION_D1 = {'name': 'MoEF', 'ephot': 350., 'elo': 343., 'ehi':348., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_D2 = {'name': 'In4d', 'elo': 324., 'ehi':331., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D2 = {'name': 'In4d', 'elo': 324., 'ehi':331., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D3 = {'name': 'As3d', 'elo': 301., 'ehi':307., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D4 = {'name': 'Survey', 'elo': 240., 'ehi':350., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_D5 = {'name': 'Al2p', 'elo': 268., 'ehi':275., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region C @ 450 eV (G1 600)
REGION_E1 = {'name': 'MoEF', 'ephot': 450., 'elo': 443., 'ehi':448., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_E2 = {'name': 'In4d', 'elo': 424., 'ehi':431., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E2 = {'name': 'In4d', 'elo': 424., 'ehi':431., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E3 = {'name': 'As3d', 'elo': 401., 'ehi':407., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E4 = {'name': 'Survey', 'elo': 340., 'ehi':450., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E5 = {'name': 'Al2p', 'elo': 468., 'ehi':475., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region D @ 550 eV (G1 600)
REGION_F1 = {'name': 'MoEF', 'ephot': 550., 'elo': 543., 'ehi':548., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_F2 = {'name': 'In4d', 'elo': 524., 'ehi':531., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_F2 = {'name': 'In4d', 'elo': 524., 'ehi':531., 'estep':0.02, 'epass': 20., 'tstep': 0.5, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_F3 = {'name': 'As3d', 'elo': 501., 'ehi':507., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_F4 = {'name': 'Survey', 'elo': 440., 'ehi':550., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_F5 = {'name': 'Al2p', 'elo': 468., 'ehi':475., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
@@ -98,7 +98,9 @@ REGION_F5 = {'name': 'Al2p', 'elo': 468., 'ehi':475., 'estep':0.02, 'epass': 20.
## 2 -- Full photon energy dependence
## REGIONS = [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,REGION_E1,REGION_E2,REGION_E3,REGION_E4,REGION_E5,REGION_F1,REGION_F2,REGION_F3,REGION_F4,REGION_F5]
## 3 -- Full photon energy dependence W/O SURVEY
REGIONS = [REGION_B1,REGION_B2,REGION_B3,REGION_B5,REGION_C1,REGION_C2,REGION_C3,REGION_C5,REGION_D1,REGION_D2,REGION_D3,REGION_D5,REGION_E1,REGION_E2,REGION_E3,REGION_E5,REGION_F1,REGION_F2,REGION_F3,REGION_F5]
## REGIONS = [REGION_B1,REGION_B2,REGION_B3,REGION_B5,REGION_C1,REGION_C2,REGION_C3,REGION_C5,REGION_D1,REGION_D2,REGION_D3,REGION_D5,REGION_E1,REGION_E2,REGION_E3,REGION_E5,REGION_F1,REGION_F2,REGION_F3,REGION_F5]
## 4 -- Full photon energy dependence W/O SURVEY and 550 eV
REGIONS = [REGION_A1,REGION_A2,REGION_A3,REGION_B1,REGION_B2,REGION_B3,REGION_B5,REGION_C1,REGION_C2,REGION_C3,REGION_C5,REGION_D1,REGION_D2,REGION_D3,REGION_D5,REGION_E1,REGION_E2,REGION_E3,REGION_E5]
# close beam shutter and turn off analyser at the end of the scan
# True or False