Script execution

This commit is contained in:
gac-x03da
2022-11-06 20:32:25 +01:00
parent 36bf7055c1
commit a624663f17

View File

@@ -21,7 +21,7 @@ MOTORS = [dummy]
# number of cycles (integer - not decimal point!)
# (actual number of cycles is + 1)
NUMBER_OF_CYCLES = 60
NUMBER_OF_CYCLES = 9
POSITIONS = [1., 10., NUMBER_OF_CYCLES]
SCAN = 'lscan'
@@ -56,7 +56,7 @@ REGION1 = {'name': 'Au4f','elo': 482., 'ehi':492., 'estep': 0.02, 'epass': 50.,
REGION2 = {'name': 'In4d','elo': 552.5, 'ehi':559., 'estep':0.02, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION3 = {'name': 'As3d','elo': 529.5, 'ehi':535., 'estep':0.02, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
REGION4 = {'name': 'In3d','elo': 119., 'ehi':124., 'estep':0.02, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'sample'}
#REGION5 = {'name': 'AuEF','elo': 573., 'ehi':574.5, 'estep': 0.02, 'epass': 50., 'tstep': 0.6, 'iter': 1, 'cis': False, 'position': 'reference'}
REGION5 = {'name': 'AuEF','elo': 573., 'ehi':574.5, 'estep': 0.02, 'epass': 50., 'tstep': 0.6, 'iter': 1, 'cis': False, 'position': 'reference'}
# REGIONS for 1050 eV
#REGION1 = {'name': 'Au4f', 'elo': 954., 'ehi':964, 'estep': 0.02, 'epass': 50., 'tstep': 0.1, 'iter': 1, 'cis': False, 'position': 'reference'}
@@ -74,10 +74,10 @@ REGION4 = {'name': 'In3d','elo': 119., 'ehi':124., 'estep':0.02, 'epass': 50., '
# list of region dictionaries to execute at each scan position
REGIONS = [REGION1, REGION2, REGION3, REGION4]
#REGIONS = [REGION1, REGION2, REGION3, REGION4]
#self-designed regions
#REGIONS = [REGION1,REGION2,REGION3]
REGIONS = [REGION1,REGION5]
# close beam shutter and turn off analyser at the end of the scan
# True or False