42 lines
1.6 KiB
Python
42 lines
1.6 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/042020/220420/")
|
|
|
|
|
|
sample = 'FeSTOUV_A'
|
|
TRY.write(9)
|
|
TRZ.write(8.5)
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(1):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 9)
|
|
caput('X11MA-KEI12:RANGE', 9)
|
|
# otf(start=690, end=750, time=2, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./')
|
|
# otf(start=690, end=750, time=2, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./')
|
|
# otf(start=690, end=750, time=2, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./')
|
|
otf(start=690, end=750, time=2, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./')
|
|
|
|
time.sleep(3)
|
|
#close_vg10()
|
|
sample = 'FeSTO_M3_a'
|
|
TRY.write(8)
|
|
TRZ.write(15)
|
|
|
|
open_vg13()
|
|
time.sleep(1)
|
|
|
|
for i in range(2):
|
|
caput('X11MA-KEI10:RANGE', 6)
|
|
caput('X11MA-KEI11:RANGE', 9)
|
|
caput('X11MA-KEI12:RANGE', 8)
|
|
otf(start=690, end=750, time=2, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./')
|
|
otf(start=690, end=750, time=2, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./')
|
|
otf(start=690, end=750, time=2, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./')
|
|
otf(start=690, end=750, time=2, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./')
|
|
|
|
time.sleep(3)
|
|
close_vg13()
|
|
|