Files
x11ma/script/test/otf_NCM111.py
2019-10-04 17:56:09 +02:00

113 lines
4.4 KiB
Python

#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')
#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')
#''' 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
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')
loop_count = loop_count + 1
# repeating 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=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')
loop_count = loop_count + 1
# repeating 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=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')
loop_count = loop_count + 1
# repeating scans 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=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')
loop_count = loop_count + 1
'''