75 lines
2.9 KiB
Python
75 lines
2.9 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='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='postmortem_sample', folder='data/2019_10/postmortem/holder1/20191004')
|
|
|
|
#''' # sample NCM111
|
|
# scans C
|
|
'''caput('X11MA-KEI10:RANGE', 7)
|
|
caput('X11MA-KEI11:RANGE', 8)
|
|
caput('X11MA-KEI12:RANGE', 9)
|
|
nr_loops=3
|
|
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='sample1_NCM111_LPS-C', folder='data/2019_10/postmortem/holder1')
|
|
loop_count = loop_count + 1
|
|
'''
|
|
# Survey
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 8)
|
|
caput('X11MA-KEI12:RANGE', 9)
|
|
nr_loops=2
|
|
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='sample1_NCM111_LPS-Survey', folder='data/2019_10/postmortem/holder1')
|
|
loop_count = loop_count + 1
|
|
|
|
# scan Ni
|
|
caput('X11MA-KEI10:RANGE', 7)
|
|
caput('X11MA-KEI11:RANGE', 8)
|
|
caput('X11MA-KEI12:RANGE', 10)
|
|
nr_loops=2
|
|
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=2
|
|
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=3
|
|
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='sample1_NCM111_LPS-Mn', folder='data/2019_10/postmortem/holder1')
|
|
loop_count = loop_count + 1
|
|
|
|
# scans O
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 8)
|
|
caput('X11MA-KEI12:RANGE', 9)
|
|
nr_loops=2
|
|
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='sample1_NCM111_LPS-O', folder='data/2019_10/postmortem/holder1')
|
|
loop_count = loop_count + 1
|
|
''' |