Files
x11ma/script/Users/steven/HOLDER4.py
gac-x11ma 99586393b5
2020-09-22 10:39:02 +02:00

1199 lines
38 KiB
Python

#
########Sample SL4-L-LC30
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/SL4-L-LC30/")
##open_vg13()
##
##TRY.write(18.25)
##TRZ.write(15.65)
##
##
##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='SL4-L-LC30_Survey', folder='XAS/2020/07/19/SL4-L-LC30/')
##
##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', 9)
## otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-L-LC30_Ni', folder='XAS/2020/07/19/SL4-L-LC30/')
##
##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='SL4-L-LC30_Co', folder='XAS/2020/07/19/SL4-L-LC30/')
##
##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='SL4-L-LC30_F-Fe', folder='XAS/2020/07/19/SL4-L-LC30/')
##
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-L-LC30_Mn', folder='XAS/2020/07/19/SL4-L-LC30/')
##
##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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-L-LC30_O', folder='XAS/2020/07/19/SL4-L-LC30')
##
##
##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='SL4-L-LC30_C', folder='XAS/2020/07/19/SL4-L-LC30/')
##
##
##time.sleep(1)
#
#
########Sample SL4-LF-LC30
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/SL4-LF-LC30-new/")
##open_vg13()
##
##TRY.write(7.25)
##TRZ.write(21.40)
##
##
##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='SL4-LF-LC30_Survey', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
###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', 9)
## otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_Ni', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
###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='SL4-LF-LC30_Co', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
###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='SL4-LF-LC30_F-Fe', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_Mn', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
###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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_O', folder='XAS/2020/07/19/SL4-LF-LC30-new')
##
###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='SL4-LF-LC30_C', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
##
##
##time.sleep(1)
#
#########Sample Gold
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/Gold/")
##open_vg13()
##
##TRY.write(6.75)
##TRZ.write(14.40)
##
##
##time.sleep(1)
##
####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='Gold_C', folder='XAS/2020/07/19/Gold/')
##
###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='Gold_Survey', folder='XAS/2020/07/19/Gold/')
##
##time.sleep(1)
#
#
#
#########Sample AS1
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS1/")
##open_vg13()
##
##TRY.write(23.98)
##TRZ.write(17.15)
##
##
##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/07/19/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/07/19/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/07/19/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_Fe-F', folder='XAS/2020/07/19/AS1/')
#
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_Mn', folder='XAS/2020/07/19/AS1/')
#
###Oxygen K edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_O', folder='XAS/2020/07/19/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', 8)
## otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1_C', folder='XAS/2020/07/19/AS1/')
#
##
##time.sleep(1)
##
#########Sample AS1-F
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS1-F/")
##open_vg13()
##
##TRY.write(23.98)
##TRZ.write(22.65)
#
#
##time.sleep(1)
#
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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/07/19/AS1-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='AS1-F_Ni', folder='XAS/2020/07/19/AS1-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='AS1-F_Co', folder='XAS/2020/07/19/AS1-F/')
##
###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='AS1-F_Fe-F', folder='XAS/2020/07/19/AS1-F/')
##
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_Mn', folder='XAS/2020/07/19/AS1-F/')
#
###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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_O', folder='XAS/2020/07/19/AS1-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', 8)
## otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-F_C', folder='XAS/2020/07/19/AS1-F/')
#
#
##time.sleep(1)
#
########Sample AS2-LC30
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS2-LC30/")
#open_vg13()
#
#TRY.write(19.73)
#TRZ.write(10.15)
#
#
##time.sleep(1)
##
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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-LC30_Survey', folder='XAS/2020/07/19/AS2-LC30/')
#
###Nickel L edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='AS2-LC30_Ni', folder='XAS/2020/07/19/AS2-LC30/')
#
###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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-LC30_Co', folder='XAS/2020/07/19/AS2-LC30/')
#
###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-LC30_Fe-F', folder='XAS/2020/07/19/AS2-LC30/')
##
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)#nr_loops=3
#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='SL4-LF-LC30_Ni', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-LC30_Mn', folder='XAS/2020/07/19/AS2-LC30/')
#
###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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-LC30_O', folder='XAS/2020/07/19/AS2-LC30')
#
#
###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', 8)
## otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-LC30_C', folder='XAS/2020/07/19/AS2-LC30/')
#
#
#time.sleep(1)
#
########Sample AS2-F-LC30
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS2-F-LC30/")
#open_vg13()
#
#TRY.write(19.48)
#TRZ.write(27.65)
#
#
##time.sleep(1)
##
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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-LC30_Survey', folder='XAS/2020/07/19/AS2-F-LC30/')
#
###Nickel L edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='AS2-F-LC30_Ni', folder='XAS/2020/07/19/AS2-F-LC30/')
##
###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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F-LC30_Co', folder='XAS/2020/07/19/AS2-F-LC30/')
##
###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='AS2-F-LC30_Fe-F', folder='XAS/2020/07/19/AS2-F-LC30/')
##
###Manganese 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', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F-LC30_Mn', folder='XAS/2020/07/19/AS2-F-LC30/')
#
###Oxygen K edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS2-F-LC30_O', folder='XAS/2020/07/19/AS2-F-LC30')
#
#
###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-F-LC30_C', folder='XAS/2020/07/19/AS2-F-LC30/')
##
##
##time.sleep(1)
#
#
#########Sample AS3
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS3/")
#open_vg13()
#
#TRY.write(7.88)
#TRZ.write(9.50)
#
#
##time.sleep(1)
##
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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/07/19/AS3/')
##
###Nickel L edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='AS3_Ni', folder='XAS/2020/07/19/AS3/')
#
###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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_Co', folder='XAS/2020/07/19/AS3/')
##
###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='AS3_Fe-F', folder='XAS/2020/07/19/AS3/')
##
###Manganese L edge
##nr_loops=6
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 7)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_Mn', folder='XAS/2020/07/19/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', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3_O', folder='XAS/2020/07/19/AS3')
#
#
##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='AS3_C', folder='XAS/2020/07/19/AS3/')
#
#time.sleep(1)
########Sample AS3-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS3-F/")
#open_vg13()
#
#TRY.write(6.48)
#TRZ.write(28.00)
#
#
#time.sleep(1)
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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/07/19/AS3-F/')
#
##Nickel L edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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='AS3-F_Ni', folder='XAS/2020/07/19/AS3-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', 9)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Co', folder='XAS/2020/07/19/AS3-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='AS3-F_Fe-F', folder='XAS/2020/07/19/AS3-F/')
#
##Manganese L edge
#nr_loops=6
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_Mn', folder='XAS/2020/07/19/AS3-F/')
#
##Oxygen K edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS3-F_O', folder='XAS/2020/07/19/AS3-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='AS3-F_C', folder='XAS/2020/07/19/AS3-F/')
#
#
#time.sleep(1)
#
########Sample AS4
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS4/")
#open_vg13()
#
#TRY.write(2.23)
#TRZ.write(16.60)
#
#
#time.sleep(1)
#
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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/07/19/AS4/')
#
##Nickel L edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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='AS4_Ni', folder='XAS/2020/07/19/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', 9)
# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_Co', folder='XAS/2020/07/19/AS4/')
#
##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_Fe-F', folder='XAS/2020/07/19/AS4/')
#
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_Mn', folder='XAS/2020/07/19/AS4/')
#
##Oxygen K edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4_O', folder='XAS/2020/07/19/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/07/19/AS4/')
#
#
#time.sleep(1)
#
#
########Sample AS4-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS4-F/")
#open_vg13()
#
#TRY.write(2.23)
#TRZ.write(21.70)
#
#
#time.sleep(1)
#
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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/07/19/AS4-F/')
##
###Nickel L edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='AS4-F_Ni', folder='XAS/2020/07/19/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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Co', folder='XAS/2020/07/19/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_Fe-F', folder='XAS/2020/07/19/AS4-F/')
##
###Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Mn', folder='XAS/2020/07/19/AS4-F/')
##
###Oxygen K edge
##nr_loops=3
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## caput('X11MA-KEI11:RANGE', 8)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_O', folder='XAS/2020/07/19/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', 8)
## otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_C', folder='XAS/2020/07/19/AS4-F/')
##
##
##time.sleep(1)
##
#######Sample JBF3
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/JBF3/")
#open_vg13()
#
#TRY.write(12.13)
#TRZ.write(24.00)
##
#
#time.sleep(1)
#
##Survey
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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='JBF3_Survey', folder='XAS/2020/07/19/JBF3/')
###
###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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3_Co', folder='XAS/2020/07/19/JBF3/')
##
####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='JBF3_Fe-F', folder='XAS/2020/07/19/JBF3/')
##
###Manganese 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', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3_Mn', folder='XAS/2020/07/19/JBF3/')
##
##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', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3_O', folder='XAS/2020/07/19/JBF3')
#
#
##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='JBF3_C', folder='XAS/2020/07/19/JBF3/')
#
#
#time.sleep(1)
##
#
#
#########Sample JBF4
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/JBF4/")
##open_vg13()
##
##TRY.write(12.13)
##TRZ.write(28.60)
##
##
##time.sleep(1)
##
####Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='JBF4_Survey', folder='XAS/2020/07/19/JBF4/')
##
###Nickel L edge
##nr_loops=6
##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='AJBF4_Ni', folder='XAS/2020/07/19/JBF4/')
##
##
###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='JBF4_Fe-F', folder='XAS/2020/07/19/JBF4/')
#
###Manganese 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', 9)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4_Mn', folder='XAS/2020/07/19/JBF4/')
##
###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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4_O', folder='XAS/2020/07/19/JBF4')
##
##
###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='JBF4_C', folder='XAS/2020/07/19/JBF4/')
##
###Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='JBF4_Survey', folder='XAS/2020/07/19/JBF4/')
##
###Nickel L edge
##nr_loops=6
##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='AJBF4_Ni', folder='XAS/2020/07/19/JBF4/')
#time.sleep(1)
#
########Sample JBF1
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/JBF1/")
#open_vg13()
#
#TRY.write(13.38)
#TRZ.write(9.25)
#
#
#time.sleep(1)
##Survey
#nr_loops=1
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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='JBF1_Survey', folder='XAS/2020/07/19/JBF1/')
#
#
##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='JBF1_Fe-F', folder='XAS/2020/07/19/JBF1/')
#
##Manganese 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', 9)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF1_Mn', folder='XAS/2020/07/19/JBF1/')
#
##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', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF1_O', folder='XAS/2020/07/19/JBF1')
#
#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='JBF1_C', folder='XAS/2020/07/19/JBF1/')
#
#
#time.sleep(1)
########Sample JBF5
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/JBF5/")
#open_vg13()
#
#TRY.write(17.63)
#TRZ.write(21.60)
#
#
#time.sleep(1)
#
##Survey
#nr_loops=2
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# 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='JBF5_Survey', folder='XAS/2020/07/19/JBF5/')
#
#
#
##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='JBF5_Fe-F', folder='XAS/2020/07/19/JBF5/')
#
##Manganese 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', 9)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5_Mn', folder='XAS/2020/07/19/JBF5/')
#
##Oxygen K edge
#nr_loops=3
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 6)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5_O', folder='XAS/2020/07/19/JBF5')
#
#
##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', 8)
# otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5_C', folder='XAS/2020/07/19/JBF5/')
#
#
#time.sleep(1)
#
#######Sample JBF2
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/JBF2/")
#open_vg13()
#
#TRY.write(12.63)
#TRZ.write(14.25)
#
#
#time.sleep(1)
#
##Survey
##nr_loops=2
##for i in range(nr_loops):
## caput('X11MA-KEI10:RANGE', 6)
## 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='JBF2_Survey', folder='XAS/2020/07/19/JBF2/')
#
#
#
###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='JBF2_Fe-F', folder='XAS/2020/07/19/JBF2/')
#
##Manganese 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', 9)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF2_Mn', folder='XAS/2020/07/19/JBF2/')
#
##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', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF2_O', folder='XAS/2020/07/19/JBF2')
#
#
##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='JBF2_C', folder='XAS/2020/07/19/JBF2/')
#
#
#
#time.sleep(1)
######Sample AS4-F
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/AS4-F/")
#open_vg13()
#
#TRY.write(2.23)
#TRZ.write(21.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', 10)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Survey', folder='XAS/2020/07/19/AS4-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='AS4-F_Ni', folder='XAS/2020/07/19/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', 9)
## otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Co', folder='XAS/2020/07/19/AS4-F/')
##
##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', 9)
## otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Fe-F', folder='XAS/2020/07/19/AS4-F/')
##
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_Mn', folder='XAS/2020/07/19/AS4-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', 9)
## otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS4-F_O', folder='XAS/2020/07/19/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/07/19/AS4-F/')
#
#
#time.sleep(1)
#
######Sample SL4-LF-LC30
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/07/19/SL4-LF-LC30-new/")
open_vg13()
TRY.write(7.25)
TRZ.write(21.40)
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='SL4-LF-LC30_Survey', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
#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', 9)
# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_Ni', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
#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='SL4-LF-LC30_Co', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
#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='SL4-LF-LC30_F-Fe', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
#Manganese L edge
#nr_loops=4
#for i in range(nr_loops):
# caput('X11MA-KEI10:RANGE', 7)
# caput('X11MA-KEI11:RANGE', 8)
# caput('X11MA-KEI12:RANGE', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_Mn', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
#
#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', 9)
# otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL4-LF-LC30_O', folder='XAS/2020/07/19/SL4-LF-LC30-new')
#
#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='SL4-LF-LC30_C', folder='XAS/2020/07/19/SL4-LF-LC30-new/')
time.sleep(1)
close_vg13()