Script execution

This commit is contained in:
gac-x11ma
2019-10-04 23:36:28 +02:00
parent be8fba407d
commit 80d1b669c9

View File

@@ -1,117 +1,75 @@
#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST')
#FOLDER = 'XAS/20190930/o_XAS_NCM111'
#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Fe', folder='data/2019_10/20191004')
#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Fe', folder='data/2019_10/20191004')
#otf(start=845, end=885, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Ni', folder='data/2019_10/20191004')
#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='postmortem_sample', folder='data/2019_10/postmortem/holder1/20191004')
#otf(start=700, end=740, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='postmortem_sample', folder='data/2019_10/postmortem/holder1/20191004')
#otf(start=845, end=885, time=2, delay=10.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='postmortem_sample', folder='data/2019_10/postmortem/holder1/20191004')
#caput('X11MA-KEI10:RANGE', 7)
#caput('X11MA-KEI11:RANGE', 8)
#caput('X11MA-KEI12:RANGE', 10)
#otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Ni', folder='data/2019_10/20191004')
#otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='postmortem_sample', folder='data/2019_10/postmortem/holder1/20191004')
''' long acquisition edges in loop during galvanostatic
nr_loops=1
loop_count = 0
while loop_count < nr_loops:
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_C', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=520, end=570, time=2, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_O', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=630, end=670, time=2, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Mn', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
otf(start=772, end=805, time=2, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Co', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
otf(start=845, end=885, time=2, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Ni', folder='data/2019_10/20191004')
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
otf(start=500, end=900, time=3, delay=30, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_gs_Survey', folder='data/2019_10/20191004')
loop_count = loop_count + 1
# '''
''' repeating scans Ni
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Ni', folder='data/2019_10/20191004')
loop_count = loop_count + 1
# repeating scans Co
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Co', folder='data/2019_10/20191004')
loop_count = loop_count + 1
# repeating scans Mn
#''' # sample NCM111
# scans C
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=6
loop_count = 0
while loop_count < nr_loops:
otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Mn', folder='data/2019_10/20191004')
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-C', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
# repeating scans O
# Survey
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_O', folder='data/2019_10/20191004')
otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-Survey', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
# repeating scans C
# scan Ni
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-Ni', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
# scans Co
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-Co', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
# scans Mn
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=6
loop_count = 0
while loop_count < nr_loops:
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_C', folder='data/2019_10/20191004')
otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-Mn', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
# repeating scans Survey
# scans O
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 9)
nr_loops=3
loop_count = 0
while loop_count < nr_loops:
otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='oXAS-NCM_endPS_Survey', folder='data/2019_10/20191004')
otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='sample1_NCM111_LPS-O', folder='data/2019_10/postmortem/holder1')
loop_count = loop_count + 1
'''