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

1222 lines
38 KiB
Python

#
######Sample AS16F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS16F/")
#open_vg13()
#
#TRY.write(20.00)
#TRZ.write(9.10)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_Survey', folder='XAS/2020/11/AS16F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_Ni', folder='XAS/2020/11/AS16F/')
#
##Cobalt L edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_Co', folder='XAS/2020/11/AS16F/')
#
##Fluor + Fe edges
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_F-Fe', folder='XAS/2020/11/AS16F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_O', folder='XAS/2020/11/AS16F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS16F_C', folder='XAS/2020/11/AS16F/')
#
#time.sleep(1)
######Sample A17F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS17F/")
#open_vg13()
#
#TRY.write(15.25)
#TRZ.write(8.85)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_Survey', folder='XAS/2020/11/AS17F/')
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_Ni', folder='XAS/2020/11/AS17F/')
##Cobalt L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_Co', folder='XAS/2020/11/AS17F/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_F-Fe', folder='XAS/2020/11/AS17F/')
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_O', folder='XAS/2020/11/AS17F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS17F_C', folder='XAS/2020/11/AS17F/')
#
#time.sleep(1)
#
#
######Sample AS18F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS18F/")
#open_vg13()
#
#TRY.write(11.00)
#TRZ.write(8.85)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS18F_Survey', folder='XAS/2020/11/AS18F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# 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='AS18F_Ni', folder='XAS/2020/11/AS18F/')
#
##Cobalt L edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS18F_Co', folder='XAS/2020/11/AS18F/')
#
##Fluor + Fe edges
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS18F_F-Fe', folder='XAS/2020/11/AS18F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS18F_O', folder='XAS/2020/11/AS18F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS18F_C', folder='XAS/2020/11/AS18F/')
#
#time.sleep(1)
#
#
######Sample AS19F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS19F/")
#open_vg13()
#
#TRY.write(6.75)
#TRZ.write(9.10)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_Survey', folder='XAS/2020/11/AS19F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_Ni', folder='XAS/2020/11/AS19F/')
#
##Cobalt L edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_Co', folder='XAS/2020/11/AS19F/')
#
##Fluor + Fe edges
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_F-Fe', folder='XAS/2020/11/AS19F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_O', folder='XAS/2020/11/AS19F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS19F_C', folder='XAS/2020/11/AS19F/')
#
#time.sleep(1)
#
#
##
######Sample AS20F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS20F/")
#open_vg13()
#
#TRY.write(2.50)
#TRZ.write(9.10)
#
#
#time.sleep(1)
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS20F_Survey', folder='XAS/2020/11/AS20F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# 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='AS20F_Ni', folder='XAS/2020/11/AS20F/')
#
##Cobalt L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS20F_Co', folder='XAS/2020/11/AS20F/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS20F_F-Fe', folder='XAS/2020/11/AS20F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS20F_O', folder='XAS/2020/11/AS20F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS20F_C', folder='XAS/2020/11/AS20F/')
#
#time.sleep(1)
#
#
######Sample AS21F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS21F/")
#open_vg13()
#
#TRY.write(23.50)
#TRZ.write(16.35)
#
#
#time.sleep(1)
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS21F_Survey', folder='XAS/2020/11/AS21F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# 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='AS21F_Ni', folder='XAS/2020/11/AS21F/')
##
##Cobalt L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS21F_Co', folder='XAS/2020/11/AS21F/')
#
##Fluor + Fe edges
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS21F_F-Fe', folder='XAS/2020/11/AS21F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS21F_O', folder='XAS/2020/11/AS21F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS21F_C', folder='XAS/2020/11/AS21F/')
#
#time.sleep(1)
#
######Sample AS8
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS8/")
#open_vg13()
#
#TRY.write(18.75)
#TRZ.write(16.10)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8_Survey', folder='XAS/2020/11/AS8/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# 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='AS8_Ni', folder='XAS/2020/11/AS8/')
#
##Cobalt L edge
#nr_loop=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8_Co', folder='XAS/2020/11/AS8/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8_F-Fe', folder='XAS/2020/11/AS8/')
##
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8_O', folder='XAS/2020/11/AS8/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8_C', folder='XAS/2020/11/AS8/')
#
#time.sleep(1)
#
######Sample AS8-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/A8-F/")
#open_vg13()
#
#TRY.write(14.25)
#TRZ.write(15.85)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8-F_Survey', folder='XAS/2020/11/AS8-F/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# 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='AS8-F_Ni', folder='XAS/2020/11/AS8-F/')
#
##Cobalt L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8-F_Co', folder='XAS/2020/11/AS8-F/')
#
##Fluor + Fe edges
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8-F_F-Fe', folder='XAS/2020/11/AS8-F/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8-F_O', folder='XAS/2020/11/AS8-F/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS8-F_C', folder='XAS/2020/11/AS8-F/')
#
#time.sleep(1)
#####Sample AS22_NCA300C
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS22_NCA300C/")
open_vg13()
TRY.write(6.25)
TRZ.write(16.10)
time.sleep(1)
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_Survey', folder='XAS/2020/11/AS22_NCA300C/')
#
##Nickel L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_Ni', folder='XAS/2020/11/AS22_NCA300C/')
#
##Cobalt L edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_Co', folder='XAS/2020/11/AS22_NCA300C/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_F-Fe', folder='XAS/2020/11/AS22_NCA300C/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_O', folder='XAS/2020/11/AS22_NCA300C/')
#
#Carbon K edge
nr_loops=1
for i in range(nr_loops):
caput('X11MA-KEI10:RANGE', 7)
caput('X11MA-KEI11:RANGE', 8)
caput('X11MA-KEI12:RANGE', 10)
otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS22_NCA300C_C', folder='XAS/2020/11/AS22_NCA300C/')
time.sleep(1)
#
#####Sample AS23_NCA300C1stcharge
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS23_NCA300C1stcharge/")
#open_vg13()
#
#TRY.write(2.25)
#TRZ.write(15.35)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS23_NCA300C1stcharge_Survey', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
##Nickel L edge
#nr_loops=1
#for i in range(nr_loops):
# 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='AS23_NCA300C1stcharge_Ni', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
##Cobalt L edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS23_NCA300C1stcharge_Co', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
##Fluor + Fe edges
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS23_NCA300C1stcharge_F-Fe', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS23_NCA300C1stcharge_O', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS23_NCA300C1stcharge_C', folder='XAS/2020/11/AS23_NCA300C1stcharge/')
#
#time.sleep(1)
#
######Sample AS5_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS5_Re/")
#open_vg13()
#
#TRY.write(23.50)
#TRZ.write(21.85)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_Survey', folder='XAS/2020/11/AS5_Re/')
##
###Nickel L edge
##nr_loops=2
##for i in range(nr_loops):
## 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='AS5_Re_Ni', folder='XAS/2020/11/AS5_Re/')
##
###Cobalt L edge
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_Co', folder='XAS/2020/11/AS5_Re/')
##
###Fluor + Fe edges
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_F-Fe', folder='XAS/2020/11/AS5_Re/')
#
##Oxygen K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_O', folder='XAS/2020/11/AS5_Re/')
#
##Carbon K edge
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_C', folder='XAS/2020/11/AS5_Re/')
#
#time.sleep(1)
######Sample AS7_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS7_Re/")
#open_vg13()
#
#TRY.write(18.75)
#TRZ.write(21.60)
#
#
#time.sleep(1)
#
##
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_Re_Survey', folder='XAS/2020/11/AS7_Re/')
##
###Nickel L edge
##nr_loops=2
##for i in range(nr_loops):
## 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='AS7_Re_Ni', folder='XAS/2020/11/AS7_Re/')
##
###Cobalt L edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_Re_Co', folder='XAS/2020/11/AS5_Re/')
#
###Fluor + Fe edges
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_Re_F-Fe', folder='XAS/2020/11/AS7_Re/')
##
###Oxygen K edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_Re_O', folder='XAS/2020/11/AS7_Re/')
##
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_Re_C', folder='XAS/2020/11/AS7_Re/')
#
#time.sleep(1)
######Sample AS1-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS1-F_Re")
#open_vg13()
#
#TRY.write(14.25)
#TRZ.write(21.85)
#
#
#time.sleep(1)
##
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Re_Survey', folder='XAS/2020/11/AS1-F_Re/')
##
###Nickel L edge
##nr_loops=1
##for i in range(nr_loops):
## 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='AS1-F_Re_Ni', folder='XAS/2020/11/AS1-F_Re/')
#
###Cobalt L edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Re_Co', folder='XAS/2020/11/AS1-F_Re/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Re_F-Fe', folder='XAS/2020/11/AS1-F_Re/')
##
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Re_O', folder='XAS/2020/11/AS1-F_Re/')
#
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Re_C', folder='XAS/2020/11/AS1-F_Re/')
#
#
#time.sleep(1)
######Sample AS2-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS2-F_Re")
#open_vg13()
#
#TRY.write(10.00)
#TRZ.write(21.10)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Re_Survey', folder='XAS/2020/11/AS2-F_Re/')
##
###Nickel L edge
##nr_loops=1
##for i in range(nr_loops):
## 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='AS2-F_Re_Ni', folder='XAS/2020/11/AS2-F_Re/')
###
###Cobalt L edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Re_Co', folder='XAS/2020/11/AS2-F_Re/')
#
##Fluor + Fe edges
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Re_F-Fe', folder='XAS/2020/11/AS2-F_Re/')
##
###Oxygen K edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Re_O', folder='XAS/2020/11/AS2-F_Re/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Re_C', folder='XAS/2020/11/AS2-F_Re/')
#
#
#time.sleep(1)
######Sample AS3-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS3-F_Re")
#open_vg13()
#
#TRY.write(5.75)
#TRZ.write(21.10)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Re_Survey', folder='XAS/2020/11/AS3-F_Re/')
##
###Nickel L edge
##nr_loops=2
##for i in range(nr_loops):
## 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='AS3-F_Re_Ni', folder='XAS/2020/11/AS3-F_Re/')
##
###Cobalt L edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Re_Co', folder='XAS/2020/11/AS3-F_Re/')
#
###Fluor + Fe edges
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Re_F-Fe', folder='XAS/2020/11/AS3-F_Re/')
#
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Re_O', folder='XAS/2020/11/AS3-F_Re/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Re_C', folder='XAS/2020/11/AS3-F_Re/')
#
#
#time.sleep(1)
######Sample AS7-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS7-F_Re")
#open_vg13()
#
#TRY.write(1.50)
#TRZ.write(20.85)
#
#
#time.sleep(1)
#
#
#######Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Re_Survey', folder='XAS/2020/11/AS7-F_Re/')
##
###Nickel L edge
##nr_loops=1
##for i in range(nr_loops):
## 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='AS7-F_Re_Ni', folder='XAS/2020/11/AS7-F_Re/')
##
###Cobalt L edge
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Re_Co', folder='XAS/2020/11/AS7-F_Re/')
##
##Fluor + Fe edges
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Re_F-Fe', folder='XAS/2020/11/AS7-F_Re/')
#
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Re_O', folder='XAS/2020/11/AS7-F_Re/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Re_C', folder='XAS/2020/11/AS7-F_Re/')
#
#
#time.sleep(1)
#
######Sample AS5-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS5-F_Re")
#open_vg13()
#
#TRY.write(19.50)
#TRZ.write(27.60)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Re_Survey', folder='XAS/2020/11/AS5-F_Re/')
##
###Nickel L edge
##nr_loops=1
##for i in range(nr_loops):
## 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='AS5-F_Re_Ni', folder='XAS/2020/11/AS5-F_Re/')
#
##Cobalt L edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Re_Co', folder='XAS/2020/11/AS5-F_Re/')
#
##Fluor + Fe edges
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Re_F-Fe', folder='XAS/2020/11/AS5-F_Re/')
#
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Re_O', folder='XAS/2020/11/AS5-F_Re/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Re_C', folder='XAS/2020/11/AS5-F_Re/')
#
#
#time.sleep(1)
#
######Sample AS6-F_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS6-F_Re")
#open_vg13()
#
#TRY.write(15.25)
#TRZ.write(27.60)
#
#
#time.sleep(1)
#
#
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Re_Survey', folder='XAS/2020/11/AS6-F_Re/')
#
##Nickel L edge
#nr_loops=1
#for i in range(nr_loops):
# 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='AS6-F_Re_Ni', folder='XAS/2020/11/AS6-F_Re/')
#
##Cobalt L edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Re_Co', folder='XAS/2020/11/AS6-F_Re/')
#
##Fluor + Fe edges
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Re_F-Fe', folder='XAS/2020/11/AS6-F_Re/')
#
##Oxygen K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Re_O', folder='XAS/2020/11/AS6-F_Re/')
#
##Carbon K edge
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Re_C', folder='XAS/2020/11/AS6-F_Re/')
#
#
#time.sleep(1)
######Sample JBF3Co_pristine_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF3Co_pristine_Re")
#open_vg13()
#
#TRY.write(10.75)
#TRZ.write(27.35)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3Co_pristine_Re_Survey', folder='XAS/2020/11/JBF3Co_pristine_Re/')
##
#
##Cobalt L edge
#nr_loops=10
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3Co_pristine_Re_Co', folder='XAS/2020/11/JBF3Co_pristine_Re/')
#
#
#
#time.sleep(1)
#
#
######Sample JBF4Ni_pristine_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF4Ni_pristine_Re")
#open_vg13()
#
#TRY.write(6.50)
#TRZ.write(27.10)
#
#
##time.sleep(1)
##
#
##Survey
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 7)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4Ni_pristine_Re_Survey', folder='XAS/2020/11/JBF4Ni_pristine_Re/')
#
##Nickel L edge
#nr_loops=9
#for i in range(nr_loops):
# 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='JBF4Ni_pristine_Re_Ni', folder='XAS/2020/11/JBF4Ni_pristine_Re/')
#
#time.sleep(1)
#
######Sample JBF3_1D_Co_Re
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF3_1D_Co_Re")
#open_vg13()
#
#TRY.write(2.00)
#TRZ.write(26.85)
#
#
#time.sleep(1)
#
#
###Survey
##nr_loops=1
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3_1D_Co_Re_Survey', folder='XAS/2020/11/JBF3_1D_Co_Re/')
##
#
##Cobalt L edge
#nr_loops=5
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3_1D_Co_Re_Co', folder='XAS/2020/11/JBF3_1D_Co_Re/')
time.sleep(1)
close_vg13()