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

938 lines
28 KiB
Python

#####Sample AS1
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS1/")
#open_vg13()
#
#TRY.write(19.75)
#TRZ.write(09.70)
#
#
#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', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_Survey', folder='XAS/2020/11/AS1/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_Ni', folder='XAS/2020/11/AS1/')
#
#
##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='AS1_Co', folder='XAS/2020/11/AS1/')
#
##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='AS1_F-Fe', folder='XAS/2020/11/AS1/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_O', folder='XAS/2020/11/AS1/')
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_C', folder='XAS/2020/11/AS1/')
#
#
#time.sleep(1)
#
######Sample AS2
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS2/")
#open_vg13()
#
#TRY.write(11.25)
#TRZ.write(9.20)
#
#
#time.sleep(1)
#
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_Survey', folder='XAS/2020/11/AS2/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_Ni', folder='XAS/2020/11/AS2/')
#
##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='AS2_Co', folder='XAS/2020/11/AS2/')
##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-Fe', folder='XAS/2020/11/AS2/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_O', folder='XAS/2020/11/AS2/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_C', folder='XAS/2020/11/AS2/')
#
#
#
#
#
#time.sleep(1)
#
######Sample AS3
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS3/")
#open_vg13()
#
#TRY.write(3.50)
#TRZ.write(9.20)
#
#
#time.sleep(1)
#
#
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_Survey', folder='XAS/2020/11/AS3/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_Ni', folder='XAS/2020/11/AS3/')
#
##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='AS3_Co', folder='XAS/2020/11/AS3/')
#
##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='AS3_F-Fe', folder='XAS/2020/11/AS3/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_O', folder='XAS/2020/11/AS3/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_C', folder='XAS/2020/11/AS3/')
#time.sleep(1)
#
######Sample AS4
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS4/")
#open_vg13()
#
#TRY.write(22.50)
#TRZ.write(15.95)
#
#
#time.sleep(1)
#
#
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_Survey', folder='XAS/2020/11/AS4/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_Ni', folder='XAS/2020/11/AS4/')
#
##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='AS4_Co', folder='XAS/2020/11/AS4/')
#
##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='AS4_F-Fe', folder='XAS/2020/11/AS4/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_O', folder='XAS/2020/11/AS4/')
##
###Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_C', folder='XAS/2020/11/AS4/')
##
##
##
##
##
##time.sleep(1)
#
######Sample AS5_R
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS5_R/")
#open_vg13()
#
#TRY.write(15.15)
#TRZ.write(14.95)
#
#
##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='AS5_Survey', folder='XAS/2020/11/AS5_R/')
##
###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_Ni', folder='XAS/2020/11/AS5_R/')
#
##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_Co', folder='XAS/2020/11/AS5_R/')
##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-Fe', folder='XAS/2020/11/AS5_R/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_O', folder='XAS/2020/11/AS5_R/')
#
##Carbon K edge
#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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5_C', folder='XAS/2020/11/AS5_R/')
#
#
#
#
#
#time.sleep(1)
#
######Sample AS6
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS6/")
##open_vg13()
##
##TRY.write(7.00)
##TRZ.write(14.70)
##
#
#time.sleep(1)
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_Survey', folder='XAS/2020/11/AS2/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2_Ni', folder='XAS/2020/11/AS2/')
#
##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='AS2_Co', folder='XAS/2020/11/AS2/')
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6_Survey', folder='XAS/2020/11/AS6/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6_Ni', folder='XAS/2020/11/AS6/')
#
##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='AS6_Co', folder='XAS/2020/11/AS6/')
#
##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='AS6_F-Fe', folder='XAS/2020/11/AS6/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6_O', folder='XAS/2020/11/AS6/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6_C', folder='XAS/2020/11/AS6/')
#time.sleep(1)
####Sample AS7_R
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS7_R/")
open_vg13()
TRY.write(0.35)
TRZ.write(15.70)
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', 9)
otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_Survey', folder='XAS/2020/11/AS7_R/')
#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_Ni', folder='XAS/2020/11/AS7_R/')
#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='AS7_Co', folder='XAS/2020/11/AS7_R/')
#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-Fe', folder='XAS/2020/11/AS7_R/')
#Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7_O', folder='XAS/2020/11/AS7-R/')
#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_C', folder='XAS/2020/11/AS7_R/')
time.sleep(1)
#####Sample AS1-F_R
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS1-F_R/")
#open_vg13()
#
#TRY.write(18.35)
#TRZ.write(27.95)
#
#
#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', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Survey', folder='XAS/2020/11/AS1-F/')
##
##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_Ni', folder='XAS/2020/11/AS1-F/')
#
##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_Co', folder='XAS/2020/11/AS1-F/')
#
##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_F-Fe', folder='XAS/2020/11/AS1-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='AS1-F_O', folder='XAS/2020/11/AS1-F/')
#
##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_C', folder='XAS/2020/11/AS1-F/')
#time.sleep(1)
#
######Sample AS2-F_R
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS2-F_R/")
#open_vg13()
#
#TRY.write(10.25)
#TRZ.write(27.95)
#
#
#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', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Survey', folder='XAS/2020/11/AS2-F_R/')
#
#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_Ni', folder='XAS/2020/11/AS2-F_R/')
#
##Cobalt 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=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_Co', folder='XAS/2020/11/AS2-F_R/')
#
##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='AS2-F_F-Fe', folder='XAS/2020/11/AS2-F_R/')
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F_O', folder='XAS/2020/11/AS2-F_R/')
#
##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_C', folder='XAS/2020/11/AS2-F_R/')
##
##
#
#
#
#time.sleep(1)
#####Sample AS3-F_R
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS3-F_R/")
#open_vg13()
#
#TRY.write(3.10)
#TRZ.write(27.95)
#
#
#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', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Survey', folder='XAS/2020/11/AS3-F_R/')
#
##Nickel L edge
#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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Ni', folder='XAS/2020/11/AS3-F_R/')
##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_Co', folder='XAS/2020/11/AS3-F-R/')
##Fluor + Fe edges
#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=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_F-Fe', folder='XAS/2020/11/AS3-F_R/')
#
##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='AS3-F_O', folder='XAS/2020/11/AS3-F_R/')
#
##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_C', folder='XAS/2020/11/AS3-F_R/')
#time.sleep(1)
#
######Sample AS4-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS4-F/")
#open_vg13()
#
#TRY.write(22.25)
#TRZ.write(21.95)
#
#
#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', 9)
# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Survey', folder='XAS/2020/11/AS4-F/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Ni', folder='XAS/2020/11/AS4-F/')
#
##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='AS4-F_Co', folder='XAS/2020/11/AS4-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='AS4-F_F-Fe', folder='XAS/2020/11/AS4-F/')
#
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_O', folder='XAS/2020/11/AS4-F/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_C', folder='XAS/2020/11/AS4-F/')
#
#
#
#
#
##time.sleep(1)
##
######Sample AS5-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS5-F/")
#open_vg13()
#
#TRY.write(15.25)
#TRZ.write(22.45)
#
#
#time.sleep(1)
#
#
###Survey
##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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Survey', folder='XAS/2020/11/AS5-F/')
##
###Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_Ni', folder='XAS/2020/11/AS5-F/')
##
###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='AS5-F_Co', folder='XAS/2020/11/AS5-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='AS5-F_F-Fe', folder='XAS/2020/11/AS5-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='AS5-F_O', folder='XAS/2020/11/AS5-F/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS5-F_C', folder='XAS/2020/11/AS5-F/')
#
#
#
#
#
#time.sleep(1)
#
######Sample AS6-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS6-F/")
#open_vg13()
#
#TRY.write(6.75)
#TRZ.write(22.20)
#
#
#time.sleep(1)
#
#
##Survey
#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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Survey', folder='XAS/2020/11/AS6-F/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_Ni', folder='XAS/2020/11/AS6-F/')
#
##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='AS6-F_Co', folder='XAS/2020/11/AS6-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='AS6-F_F-Fe', folder='XAS/2020/11/AS6-F/')
#
###Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_O', folder='XAS/2020/11/AS6-F/')
##
###Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS6-F_C', folder='XAS/2020/11/AS6-F/')
##
##
##
##
##
##time.sleep(1)
#
######Sample AS7-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS7-F/")
#open_vg13()
#
#TRY.write(0.25)
#TRZ.write(22.20)
#
#
###time.sleep(1)
###
###
####Survey
###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=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Survey', folder='XAS/2020/11/AS7-F/')
###
####Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_Ni', folder='XAS/2020/11/AS7-F/')
##
###Cobalt L edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 7)
## 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_Co', folder='XAS/2020/11/AS7-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='AS7-F_F-Fe', folder='XAS/2020/11/AS7-F/')
##
##Oxygen K 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=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_O', folder='XAS/2020/11/AS7-F/')
#
##Carbon K 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS7-F_C', folder='XAS/2020/11/AS7-F/')
#
#
#
#time.sleep(1)
#
#
#
#close_vg13()