Script execution

This commit is contained in:
gac-x03da
2023-06-11 23:35:03 +02:00
parent 5265f94a93
commit 047e12d494

View File

@@ -48,10 +48,18 @@ 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 @ 578 eV Peaks
REGION_E1 = {'name': 'MoEF', 'ephot': 578., 'elo': 572., 'ehi':575., 'estep': 0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_E2 = {'name': 'In4d', 'elo': 551., 'ehi':559., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E3 = {'name': 'As3d', 'elo': 529., 'ehi':535., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E4 = {'name': 'Survey', 'elo': 468., 'ehi':578., 'estep':0.10, 'epass': 20., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E5 = {'name': 'Al2p', 'elo': 494., 'ehi':503., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION_E6 = {'name': 'In3d', 'elo': 118., 'ehi':133., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
# -- Region A @ 650 eV (G2 1200)
REGION_A1 = {'name': 'MoEF', 'ephot': 650., 'elo': 643., 'ehi':648., 'estep':0.02, 'epass': 20., 'tstep': 2.0, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION_A2 = {'name': 'In4d', 'elo': 623., 'ehi':631., 'estep':0.02, 'epass': 20., 'tstep': 1.0, 'iter': 1, 'cis': False, 'position': 'sample'}
@@ -88,7 +96,8 @@ REGION_D6 = {'name': 'In3d', 'elo': 590., 'ehi':605., 'estep':0.02, 'epass': 20.
## 1 -- Full photon energy dependence
## 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,REGION_D1,REGION_D2,REGION_D3,REGION_D4,REGION_D5,REGION_D6]
## 2 -- Full photon energy dependence W/O SURVEY
REGIONS = [REGION_A1,REGION_A2,REGION_A3,REGION_A5,REGION_A6,REGION_B1,REGION_B2,REGION_B3,REGION_B5,REGION_B6,REGION_C1,REGION_C2,REGION_C3,REGION_C5,REGION_C6,REGION_D1,REGION_D2,REGION_D3,REGION_D5,REGION_D6]
REGIONS = [REGION_E1,REGION_E2,REGION_E3,REGION_E5,REGION_E6,REGION_A1,REGION_A2,REGION_A3,REGION_A5,REGION_A6,REGION_B1,REGION_B2,REGION_B3,REGION_B5,REGION_B6,REGION_C1,REGION_C2,REGION_C3,REGION_C5,REGION_C6,REGION_D1,REGION_D2,REGION_D3,REGION_D5,REGION_D6]
# close beam shutter and turn off analyser at the end of the scan
# True or False