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

896 lines
24 KiB
Python

#
#######Sample JBF5
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF5/")
##open_vg13()
##
##TRY.write(18.25)
##TRZ.write(09.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='JBF5_Survey', folder='XAS/2020/11/JBF5/')
##
###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', 10)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5_Mn', folder='XAS/2020/11/JBF5/')
##
###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='JBF5_O', folder='XAS/2020/11/JBF5/')
##
###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='JBF5_C', folder='XAS/2020/11/JBF5/')
##
###
##time.sleep(1)
#
#
#
#
##
##
##
##
#######Sample JBF1-1C
##set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF1-1C/")
##open_vg13()
##
##TRY.write(11.00)
##TRZ.write(10.20)
##
##
##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='JBF1-1C_Survey', folder='XAS/2020/11/JBF1-1C/')
###
###Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF1-1C_Mn', folder='XAS/2020/11/JBF1-1C/')
##
###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='JBF1-1C_O', folder='XAS/2020/11/JBF1-1C/')
##
###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='JBF1-1C_C', folder='XAS/2020/11/JBF1-1C/')
##
##
##time.sleep(1)
##
##
#
#
#
#
#
#
######Sample JBF2-1C
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF2-1C/")
#open_vg13()
#
#TRY.write(04.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', 7)
## caput('X11MA-KEI12:RANGE', 9)
## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF2-1C_Survey', folder='XAS/2020/11/JBF2-1C/')
#
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF2-1C_Mn', folder='XAS/2020/11/JBF2-1C/')
#
##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='JBF2-1C_O', folder='XAS/2020/11/JBF2-1C/')
#
##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='JBF2-1C_C', folder='XAS/2020/11/JBF2-1C/')
#
#
#time.sleep(1)
######Sample JBF3-1C
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF3-1C/")
#open_vg13()
#
#TRY.write(22.35)
#TRZ.write(16.20)
#
#
#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='JBF3-1C_Survey', folder='XAS/2020/11/JBF3-1C/')
##
###Cobalt L edge
#nr_loops=8
#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-1C_Co', folder='XAS/2020/11/JBF3-1C/')
#
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3-1C_Mn', folder='XAS/2020/11/JBF3-1C/')
#
##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='JBF3-1C_O', folder='XAS/2020/11/JBF3-1C/')
#
##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='JBF3-1C_C', folder='XAS/2020/11/JBF3-1C/')
#
#
#time.sleep(1)
#
#
#
#
#
#
#
#
#
######Sample JBF4-1C
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF4-1C/")
#open_vg13()
#
#TRY.write(16.60)
#TRZ.write(16.20)
#
#
#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='JBF4-1C_Survey', folder='XAS/2020/11/JBF4-1C/')
##
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-1C_Ni', folder='XAS/2020/11/JBF4-1C/')
##
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-1C_Mn', folder='XAS/2020/11/JBF4-1C/')
#
##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='JBF4-1C_O', folder='XAS/2020/11/JBF4-1C/')
#
##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='JBF4-1C_C', folder='XAS/2020/11/JBF4-1C/')
#
#
#time.sleep(1)
#
#
#
#
#
#
#
#
#
#
#
######Sample JBF5-1C
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF5-1C/")
#open_vg13()
#
#TRY.write(11.10)
#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', 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-1C_Survey', folder='XAS/2020/11/JBF5-1C/')
##
##Manganese 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=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5-1C_Mn', folder='XAS/2020/11/JBF5-1C/')
#
##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='JBF5-1C_O', folder='XAS/2020/11/JBF5-1C/')
#
##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='JBF5-1C_C', folder='XAS/2020/11/JBF5-1C/')
#
##
#time.sleep(1)
#
#
#
#
#
#
######Sample JBF1-1D
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF1-1D/")
#open_vg13()
#
#TRY.write(05.60)
#TRZ.write(15.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='JBF1-1D_Survey', folder='XAS/2020/11/JBF1-1D/')
#
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF1-1D_Mn', folder='XAS/2020/11/JBF1-1D/')
#
##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-1D_O', folder='XAS/2020/11/JBF1-1D/')
##
###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-1D_C', folder='XAS/2020/11/JBF1-1D/')
##
##
##time.sleep(1)
##
##
##
##
##
##
##
##
######Sample JBF2-1D
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF2-1D/")
#open_vg13()
#
#TRY.write(00.10)
#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='JBF2-1D_Survey', folder='XAS/2020/11/JBF2-1D/')
##
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF2-1D_Mn', folder='XAS/2020/11/JBF2-1D/')
#
##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-1D_O', folder='XAS/2020/11/JBF2-1D/')
#
##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-1D_C', folder='XAS/2020/11/JBF2-1D/')
#
#
#time.sleep(1)
#
#
#
#
#
#
#
#
######Sample JBF3-1D
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF3-1D/")
#open_vg13()
#
#TRY.write(22.35)
#TRZ.write(22.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='JBF3-1D_Survey', folder='XAS/2020/11/JBF3-1D/')
##
###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', folder='XAS/2020/11/JBF3-1D/')
#
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3-1D_Mn', folder='XAS/2020/11/JBF3-1D/')
#
##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-1D_O', folder='XAS/2020/11/JBF3-1D/')
#
##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-1D_C', folder='XAS/2020/11/JBF3-1D/')
#
#
#time.sleep(1)
#
#
#
##
##
##
#
######Sample JBF4-1D
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF4-1D/")
#open_vg13()
#
#TRY.write(17.10)
#TRZ.write(23.20)
#
#
#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='JBF4-1D_Survey', folder='XAS/2020/11/JBF4-1D/')
#
##Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-1D_Ni', folder='XAS/2020/11/JBF4-1D/')
##
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-1D_Mn', folder='XAS/2020/11/JBF4-1D/')
#
##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-1D_O', folder='XAS/2020/11/JBF4-1D/')
#
##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-1D_C', folder='XAS/2020/11/JBF4-1D/')
#
#
#time.sleep(1)
#
#
#
#
#
#
######Sample JBF5-1D
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF5-1D/")
#open_vg13()
#
#TRY.write(10.85)
#TRZ.write(23.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='JBF5-1D_Survey', folder='XAS/2020/11/JBF5-1D/')
##
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5-1D_Mn', folder='XAS/2020/11/JBF5-1D/')
#
##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='JBF5-1D_O', folder='XAS/2020/11/JBF5-1D/')
#
##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='JBF5-1D_C', folder='XAS/2020/11/JBF5-1D/')
#
##
#time.sleep(1)
##
##
##
##
##
##
##
##
#
######Sample JBF1-LC
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF1-LC/")
#open_vg13()
#
#TRY.write(04.85)
#TRZ.write(22.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='JBF1-LC_Survey', folder='XAS/2020/11/JBF1-LC/')
##
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF1-LC_Mn', folder='XAS/2020/11/JBF1-LC/')
#
##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-LC_O', folder='XAS/2020/11/JBF1-LC/')
#
##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-LC_C', folder='XAS/2020/11/JBF1-LC/')
#
#
#time.sleep(1)
#
#
##
##
##
##
##
#
######Sample JBF2-LC
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF2-LC/")
#open_vg13()
#
#TRY.write(00.10)
#TRZ.write(22.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='JBF2-LC_Survey', folder='XAS/2020/11/JBF2-LC/')
##
###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-LC_Mn', folder='XAS/2020/11/JBF2-LC/')
##
###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-LC_O', folder='XAS/2020/11/JBF2-LC/')
#
##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-LC_C', folder='XAS/2020/11/JBF2-LC/')
#
#
#time.sleep(1)
#
#
#
#
#
#
#
#
######Sample JBF3-LC
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF3-LC/")
#open_vg13()
#
#TRY.write(17.85)
#TRZ.write(29.45)
#
#
#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='JBF3-LC_Survey', folder='XAS/2020/11/JBF3-LC/')
#
###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='JBF3-LC_Co', folder='XAS/2020/11/JBF3-LC/')
#
##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', 10)
# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF3-LC_Mn', folder='XAS/2020/11/JBF3-LC/')
#
##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-LC_O', folder='XAS/2020/11/JBF3-LC/')
#
##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-LC_C', folder='XAS/2020/11/JBF3-LC/')
#
#
#time.sleep(1)
#
#
#
#
#
##
##
######Sample JBF4-LC
#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF4-LC/")
#open_vg13()
#
#TRY.write(10.60)
#TRZ.write(29.45)
##
##
##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='JBF4-LC_Survey', folder='XAS/2020/11/JBF4-LC/')
##
###Nickel 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=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-LC_Ni', folder='XAS/2020/11/JBF4-LC/')
###
###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', 10)
## otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF4-LC_Mn', folder='XAS/2020/11/JBF4-LC/')
##
##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-LC_O', folder='XAS/2020/11/JBF4-LC/')
#
##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-LC_C', folder='XAS/2020/11/JBF4-LC/')
#
#
#time.sleep(1)
#
#
#
#
#
#####Sample JBF5-LC
set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/JBF5-LC/")
open_vg13()
TRY.write(04.85)
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='JBF5-LC_Survey', folder='XAS/2020/11/JBF5-LC/')
#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', 10)
otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='JBF5-LC_Mn', folder='XAS/2020/11/JBF5-LC/')
#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='JBF5-LC_O', folder='XAS/2020/11/JBF5-LC/')
#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='JBF5-LC_C', folder='XAS/2020/11/JBF5-LC/')
#
time.sleep(1)
close_vg13()