Files
x11ma/script/Users/gesara/19okt2020_Circscan.py
gac-x11ma 9023b840a5
2020-11-11 15:42:43 +01:00

106 lines
5.2 KiB
Python

#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST')
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/")
open_vg13()
time.sleep(1)
#sample = 'LiMn2O4'
#TRY.write(10)
#TRZ.write(10.3)
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 7)
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
#sample = 'LCO'
#TRY.write(6.5)
#TRZ.write(10.3)
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
sample = 'Mn2O3'
TRY.write(8.0)
TRZ.write(16.2)
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 6)
caput('X11MA-KEI12:RANGE', 8)
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
for i in range(2):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
#sample = 'LiMnO2'
#TRY.write(6.25)
#TRZ.write(15.7)
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 7)
caput('X11MA-KEI12:RANGE', 8)
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./')
otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./')
for i in range(0):
caput('X11MA-KEI10:RANGE', 6)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 8)
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./')
otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./')
time.sleep(3)
close_vg13()