diff --git a/config/plugins.properties b/config/plugins.properties index 11bcd52..c2f714b 100644 --- a/config/plugins.properties +++ b/config/plugins.properties @@ -1,8 +1,9 @@ +Experiment.java=enabled Eiger.java=enabled -OTFScanBase.java=disabled -EnergyScanBase.java=disabled -DelayScanBase.java=disabled -EnergyScan_TBT.java=disabled -DelayScan.java=disabled -EnergyScan.java=disabled -Test.java=disabled +OTFScanBase.java=enabled +EnergyScanBase.java=enabled +DelayScanBase.java=enabled +EnergyScan_TBT.java=enabled +DelayScan.java=enabled +EnergyScan.java=enabled +Test.java=enabled diff --git a/config/settings.properties b/config/settings.properties index 0412a8d..33d112a 100644 --- a/config/settings.properties +++ b/config/settings.properties @@ -1,18 +1,18 @@ -#Fri Oct 02 10:37:46 CEST 2020 +#Wed Nov 11 15:27:05 CET 2020 HARMONIC_ID_1=1 -RSYNC_USER=e18720 -ENERGY=639.5 +RSYNC_USER=e18650 +ENERGY=850.0 OUTLIERS_THRESHOLD=1000000000 POL_ID_1=Circ_Plus NORM_FILE=/sls/X11MA/data/X11MA/Data1/public/PEEM/2020_09/i1904_1_0.tif AUTO_SWITCH_VALVE=true -RSYNC_PATH=Test 1 -DRY_RUN=true +RSYNC_PATH=XPEEMSample2-NCA-F-pristine +DRY_RUN=false ALPHA_ID_2=45.0 ALPHA_ID_1=15.0 -POL_ID_2=Lin_Ver +POL_ID_2=Lin_Hor OFFSET_ID_1=-1.5 ID=ID2 -OFFSET_ID_2=-1.5 +OFFSET_ID_2=-0.6 HARMONIC_ID_2=1 FdaBrowser=true diff --git a/config/variables.properties b/config/variables.properties index 7bfd445..6426712 100644 --- a/config/variables.properties +++ b/config/variables.properties @@ -1,2 +1,2 @@ -#Fri Oct 02 11:04:53 CEST 2020 -FileSequentialNumber=2414 +#Tue Nov 10 20:19:33 CET 2020 +FileSequentialNumber=3687 diff --git a/devices/image.properties b/devices/image.properties index 96c73eb..cb71866 100644 --- a/devices/image.properties +++ b/devices/image.properties @@ -1,4 +1,4 @@ -#Tue Sep 29 11:24:20 CEST 2020 +#Tue Nov 10 12:39:52 CET 2020 spatialCalOffsetY=NaN spatialCalOffsetX=NaN colormapLogarithmic=false @@ -6,7 +6,7 @@ scale=1.0 grayscale=false spatialCalScaleX=NaN spatialCalScaleY=NaN -colormapMax=1.5 +colormapMax=600.0 rescaleOffset=0.0 roiWidth=-1 colormap=Grayscale diff --git a/script/Users/ales/Holder1.py b/script/Users/ales/Holder1.py new file mode 100644 index 0000000..37b7a39 --- /dev/null +++ b/script/Users/ales/Holder1.py @@ -0,0 +1,589 @@ +# +######Sample SL-RP2 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-RP2/") +#open_vg13() +# +#TRY.write(22.25) +#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='SL-RP2_Survey', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_Ni', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_Co', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_F-Fe', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_Mn', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_O', folder='XAS/2020/11/SL-RP2/') +# +##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='SL-RP2_C', folder='XAS/2020/11/SL-RP2/') +# +# +# +# +# +#time.sleep(1) +# + +#######Sample SL9 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL9/") +#open_vg13() +# +#TRY.write(14.75) +#TRZ.write(15.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='SL9_Survey', folder='XAS/2020/11/SL9/') +# +##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='SL9_Ni', folder='XAS/2020/11/SL9/') + +###Cobalt L edge +#for i in range(2): +# 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='SL9_Co', folder='XAS/2020/11/SL9/') +# +##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='SL9_F-Fe', folder='XAS/2020/11/SL9/') +# +##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='SL9_Mn', folder='XAS/2020/11/SL9/') + +##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='SL9_O', folder='XAS/2020/11/SL9/') + +##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='SL9_C', folder='XAS/2020/11/SL9/') +# +# +# +# +# +#time.sleep(1) +# +# +#######Sample SL-AG2 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-AG2/") +#open_vg13() +# +#TRY.write(10.00) +#TRZ.write(10.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='SL-AG2_Survey', folder='XAS/2020/11/SL-AG2/') +# +##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='SL-AG2_Ni', folder='XAS/2020/11/SL-AG2/') +# +##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='SL-AG2_Co', folder='XAS/2020/11/SL-AG2/') +# +##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='SL-AG2_F-Fe', folder='XAS/2020/11/SL-AG2/') +# +##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='SL-AG2_Mn', folder='XAS/2020/11/SL-AG2/') +# +##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='SL-AG2_O', folder='XAS/2020/11/SL-AG2/') + +##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='SL-AG2_C', folder='XAS/2020/11/SL-AG2/') +# +# + + + +#time.sleep(1) + + +#######Sample SL-AG3 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-AG3/") +#open_vg13() +# +#TRY.write(5.75) +#TRZ.write(16.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='SL-AG3_Survey', folder='XAS/2020/11/SL-AG3/') +# +##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='SL-AG3_Ni', folder='XAS/2020/11/SL-AG3/') +# +##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='SL-AG3_Co', folder='XAS/2020/11/SL-AG3/') +# +##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='SL-AG3_F-Fe', folder='XAS/2020/11/SL-AG3/') +# +##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='SL-AG3_Mn', folder='XAS/2020/11/SL-AG3/') + +##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='SL-AG3_O', folder='XAS/2020/11/SL-AG3/') + +##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='SL-AG3_C', folder='XAS/2020/11/SL-AG3/') +# +# +# +# +# +# +# +# +#time.sleep(1) + + +#######Sample SL-AG1 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-AG1/") +#open_vg13() +# +#TRY.write(21.25) +#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='SL-AG1_Survey', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_Ni', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_Co', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_F-Fe', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_Mn', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_O', folder='XAS/2020/11/SL-AG1/') +# +##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='SL-AG1_C', folder='XAS/2020/11/SL-AG1/') +# +# +# +# +# +# +#time.sleep(1) +# +# +#######Sample SL-AG4 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-AG4/") +#open_vg13() +# +#TRY.write(15.00) +#TRZ.write(25.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='SL-AG4_Survey', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Ni', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Co', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_F-Fe', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Mn', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_O', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_C', folder='XAS/2020/11/SL-AG4/') +# +# +# +# +# +# +#time.sleep(1) + + +#######Sample SL-OUT +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-OUT/") +#open_vg13() +# +#TRY.write(8.00) +#TRZ.write(24.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='SL-OUT_Survey', folder='XAS/2020/11/SL-OUT/') +## +###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='SL-OUT_Ni', folder='XAS/2020/11/SL-OUT/') +## +###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='SL-OUT_Co', folder='XAS/2020/11/SL-OUT/') +## +###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='SL-OUT_F-Fe', folder='XAS/2020/11/SL-OUT/') +## +###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='SL-OUT_Mn', folder='XAS/2020/11/SL-OUT/') +# +##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='SL-OUT_O', folder='XAS/2020/11/SL-OUT/') +# +##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='SL-OUT_C', folder='XAS/2020/11/SL-OUT/') +# +# +# +# +# +# +#time.sleep(1) +# + +######Sample SL-IN +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-IN/") +open_vg13() + +TRY.write(2.50) +TRZ.write(21.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='SL-IN_Survey', folder='XAS/2020/11/SL-IN/') +# +##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='SL-IN_Ni', folder='XAS/2020/11/SL-IN/') +# +##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='SL-IN_Co', folder='XAS/2020/11/SL-IN/') +# +##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='SL-IN_F-Fe', folder='XAS/2020/11/SL-IN/') +# +##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='SL-IN_Mn', folder='XAS/2020/11/SL-IN/') + +##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='SL-IN_O', folder='XAS/2020/11/SL-IN/') + +#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='SL-IN_C', folder='XAS/2020/11/SL-IN/') + +time.sleep(1)# + +close_vg13() + + diff --git a/script/Users/ales/Holder2.py b/script/Users/ales/Holder2.py new file mode 100644 index 0000000..7f25205 --- /dev/null +++ b/script/Users/ales/Holder2.py @@ -0,0 +1,937 @@ +#####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() diff --git a/script/Users/ales/Holder3.py b/script/Users/ales/Holder3.py new file mode 100644 index 0000000..9457a86 --- /dev/null +++ b/script/Users/ales/Holder3.py @@ -0,0 +1,895 @@ +# +#######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() + + diff --git a/script/Users/ales/Holder4.py b/script/Users/ales/Holder4.py new file mode 100644 index 0000000..6a16208 --- /dev/null +++ b/script/Users/ales/Holder4.py @@ -0,0 +1,900 @@ + +######Sample SL-freshpellet +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-freshpellet/") +#open_vg13() +# +#TRY.write(20.00) +#TRZ.write(12.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-freshpellet_Survey', folder='XAS/2020/11/SL-freshpellet/') +# +##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='SL-freshpellet_Ni', folder='XAS/2020/11/SL-freshpellet/') + +##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='SL-freshpellet_Co', folder='XAS/2020/11/SL-freshpellet/') +# +##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='SL-freshpellet_F-Fe', folder='XAS/2020/11/SL-freshpellet/') + +##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='SL-freshpellet_Mn', folder='XAS/2020/11/SL-freshpellet/') +# +##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='SL-freshpellet_O', folder='XAS/2020/11/SL-freshpellet/') +# +##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='SL-freshpellet_C', folder='XAS/2020/11/SL-freshpellet/') + + + + + + + +#time.sleep(1) +# +######Sample SLF-freshpellet +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SLF-freshpellet/") +#open_vg13() +# +#TRY.write(09.00) +#TRZ.write(24.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SLF-freshpellet_Survey', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_Ni', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_Co', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_F-Fe', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_Mn', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_O', folder='XAS/2020/11/SLF-freshpellet/') +# +##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='SLF-freshpellet_C', folder='XAS/2020/11/SLF-freshpellet/') +# +# + +# +# +# +# +#time.sleep(1) +# +######Sample SL-EISAged +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-EISAged/") +#open_vg13() +# +#TRY.write(07.00) +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-EISAged_Survey', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_Ni', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_Co', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_F-Fe', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_Mn', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_O', folder='XAS/2020/11/SL-EISAged/') +# +##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='SL-EISAged_C', folder='XAS/2020/11/SL-EISAged/') +# + + + + +# +# +#time.sleep(1) +# +######Sample SLF-EISAged +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SLF-EISAged/") +#open_vg13() +# +#TRY.write(20.75) +#TRZ.write(23.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SLF-EISAged_Survey', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_Ni', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_Co', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_F-Fe', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_Mn', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_O', folder='XAS/2020/11/SLF-EISAged/') +# +##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='SLF-EISAged_C', folder='XAS/2020/11/SLF-EISAged/') +# +# +# +# +# +# +# +#time.sleep(1) +# +######Sample SL-AG4 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-AG4/") +#open_vg13() +# +#TRY.write(22.00) +#TRZ.write(17.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-AG4_Survey', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Ni', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Co', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_F-Fe', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_Mn', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_O', folder='XAS/2020/11/SL-AG4/') +# +##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='SL-AG4_C', folder='XAS/2020/11/SL-AG4/') +# +# +# +# + +# +# +#time.sleep(1) +# +######Sample SL-FRP2 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-FRP2/") +#open_vg13() +# +#TRY.write(02.25) +#TRZ.write(20.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', 10) +## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-FRP2_Survey', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_Ni', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_Co', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_F-Fe', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_Mn', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_O', folder='XAS/2020/11/SL-FRP2/') +# +##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='SL-FRP2_C', folder='XAS/2020/11/SL-FRP2/') +# +# +# +# +# +# +# +##time.sleep(1) +## +######Sample SL5F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL5F/") +#open_vg13() +# +#TRY.write(04.50) +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5F_Survey', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_Ni', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_Co', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_F-Fe', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_Mn', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_O', folder='XAS/2020/11/SL5F/') +# +##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='SL5F_C', folder='XAS/2020/11/SL5F/') +# +# + + +# +# +# +#time.sleep(1) +# +######Sample SL7-IN +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL7-IN/") +#open_vg13() +# +#TRY.write(12.75) +#TRZ.write(13.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', 10) +## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL7-IN_Survey', folder='XAS/2020/11/SL7-IN/') +## +###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='SL7-IN_Ni', folder='XAS/2020/11/SL7-IN/') +## +###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='SL7-IN_Co', folder='XAS/2020/11/SL7-IN/') +## +###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='SL7-IN_F-Fe', folder='XAS/2020/11/SL7-IN/') +## +###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='SL7-IN_Mn', folder='XAS/2020/11/SL7-IN/') +## +##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='SL7-IN_O', folder='XAS/2020/11/SL7-IN/') +# +##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='SL7-IN_C', folder='XAS/2020/11/SL7-IN/') +# +# +# +# +# +# +# +#time.sleep(1) +# +######Sample SL7F-IN +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL7F-IN/") +#open_vg13() +# +#TRY.write(15.00) +#TRZ.write(27.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL7F-IN_Survey', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_Ni', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_Co', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_F-Fe', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_Mn', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_O', folder='XAS/2020/11/SL7F-IN/') +# +##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='SL7F-IN_C', folder='XAS/2020/11/SL7F-IN/') +# + + + +# +# +# +#time.sleep(1) +# +######Sample SL10-IN +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL10-IN/") +#open_vg13() +# +#TRY.write(09.75) +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL10-IN_Survey', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_Ni', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_Co', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_F-Fe', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_Mn', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_O', folder='XAS/2020/11/SL10-IN/') +# +##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='SL10-IN_C', folder='XAS/2020/11/SL10-IN/') +# + + + + + + +time.sleep(1) + +#####Sample SL10F-INCB +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL10F-INCB/") +open_vg13() + +TRY.write(15.25) +TRZ.write(17.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', 10) + otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL10F-INCB_Survey', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_Ni', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_Co', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_F-Fe', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_Mn', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_O', folder='XAS/2020/11/SL10F-INCB/') + +#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='SL10F-INCB_C', folder='XAS/2020/11/SL10F-INCB/') + + + + + + + + +time.sleep(1) + +#####Sample SL11F-IN +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL11F-IN/") +open_vg13() + +TRY.write(04.25) +TRZ.write(26.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', 10) + otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL11F-IN_Survey', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_Ni', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_Co', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_F-Fe', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_Mn', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_O', folder='XAS/2020/11/SL11F-IN/') + +#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='SL11F-IN_C', folder='XAS/2020/11/SL11F-IN/') + +time.sleep(1) + + +close_vg13() + + diff --git a/script/Users/ales/Holder5.py b/script/Users/ales/Holder5.py new file mode 100644 index 0000000..2d96317 --- /dev/null +++ b/script/Users/ales/Holder5.py @@ -0,0 +1,1058 @@ + +######Sample AS10 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS10/") +#open_vg13() +# +#TRY.write(21.45) +#TRZ.write(10.60) +# +# +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS10_Survey', folder='XAS/2020/11/AS10/') + +##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='AS10_Ni', folder='XAS/2020/11/AS10/') +## +##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='AS10_Co', folder='XAS/2020/11/AS10/') +## +##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='AS10_F-Fe', folder='XAS/2020/11/AS10/') +## +##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='AS10_O', folder='XAS/2020/11/AS10/') +## +##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='AS10_C', folder='XAS/2020/11/AS10/') +## +##time.sleep(1) + + + + + + + +######Sample AS11 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS11/") +#open_vg13() +# +#TRY.write(14.45) +#TRZ.write(10.60) +# +# +#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='AS11_Survey', folder='XAS/2020/11/AS11/') +# +##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='AS11_Ni', folder='XAS/2020/11/AS11/') + +##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='AS11_Co', folder='XAS/2020/11/AS11/') +# +##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='AS11_F-Fe', folder='XAS/2020/11/AS11/') +# +##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='AS11_O', folder='XAS/2020/11/AS11/') +# +##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='AS11_C', folder='XAS/2020/11/AS11/') +# +#time.sleep(1) +# +# +# +## +## +## +######Sample AS12 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS12/") +#open_vg13() +# +#TRY.write(8.45) +#TRZ.write(9.85) +# +# +#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='AS12_Survey', folder='XAS/2020/11/AS12/') +# +##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='AS12_Ni', folder='XAS/2020/11/AS12/') +# +##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='AS12_Co', folder='XAS/2020/11/AS12/') +# +##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='AS12_F-Fe', folder='XAS/2020/11/AS12/') +# +##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='AS12_O', folder='XAS/2020/11/AS12/') +# +##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='AS12_C', folder='XAS/2020/11/AS12/') +# +#time.sleep(1) +# +# +# +# +# + +######Sample AS13 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS13/") +#open_vg13() +# +#TRY.write(23.45) +#TRZ.write(16.85) +# +# +#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='AS13_Survey', folder='XAS/2020/11/AS13/') +# +##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='AS13_Ni', folder='XAS/2020/11/AS13/') +# +##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='AS13_Co', folder='XAS/2020/11/AS13/') +# +##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='AS13_F-Fe', folder='XAS/2020/11/AS13/') +# +##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='AS13_O', folder='XAS/2020/11/AS13/') +# +##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='AS13_C', folder='XAS/2020/11/AS13/') +# +#time.sleep(1) +# +# +# +# +# +# +######Sample AS14 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS14/") +#open_vg13() +# +#TRY.write(18.20) +#TRZ.write(16.60) +# +# +#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='AS14_Survey', folder='XAS/2020/11/AS14/') +# +##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='AS14_Ni', folder='XAS/2020/11/AS14/') +# +##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='AS14_Co', folder='XAS/2020/11/AS14/') +# +##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='AS14_F-Fe', folder='XAS/2020/11/AS14/') +# +##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='AS14_O', folder='XAS/2020/11/AS14/') +# +##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='AS14_C', folder='XAS/2020/11/AS14/') +# +#time.sleep(1) +# +# +# +# +# +# +# +######Sample AS15 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS15/") +#open_vg13() +# +#TRY.write(10.95) +#TRZ.write(14.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='AS15_Survey', folder='XAS/2020/11/AS15/') +# +##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='AS15_Ni', folder='XAS/2020/11/AS15/') +# +##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='AS15_Co', folder='XAS/2020/11/AS15/') +# +##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='AS15_F-Fe', folder='XAS/2020/11/AS15/') +# +##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='AS15_O', folder='XAS/2020/11/AS15/') +# +##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='AS15_C', folder='XAS/2020/11/AS15/') +# +#time.sleep(1) +# +# +# +# +# +# +# +######Sample AS10-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS10-F/") +#open_vg13() +# +#TRY.write(4.95) +#TRZ.write(13.85) +# +# +#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='AS10-F_Survey', folder='XAS/2020/11/AS10-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='AS10-F_Ni', folder='XAS/2020/11/AS10-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='AS10-F_Co', folder='XAS/2020/11/AS10-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='AS10-F_F-Fe', folder='XAS/2020/11/AS10-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='AS10-F_O', folder='XAS/2020/11/AS10-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='AS10-F_C', folder='XAS/2020/11/AS10-F/') +# +#time.sleep(1) +# +# +# +# +# +# +# +######Sample AS11-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS11-F/") +#open_vg13() +# +#TRY.write(22.70) +#TRZ.write(20.60) +# +# +#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='AS11-F_Survey', folder='XAS/2020/11/AS11-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='AS11-F_Ni', folder='XAS/2020/11/AS11-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='AS11-F_Co', folder='XAS/2020/11/AS11-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='AS11-F_F-Fe', folder='XAS/2020/11/AS11-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='AS11-F_O', folder='XAS/2020/11/AS11-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='AS11-F_C', folder='XAS/2020/11/AS11-F/') +# +#time.sleep(1) +# + + + + + +######Sample AS12-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS12-F/") +#open_vg13() +# +#TRY.write(17.20) +#TRZ.write(20.60) +# +# +#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='AS12-F_Survey', folder='XAS/2020/11/AS12-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='AS12-F_Ni', folder='XAS/2020/11/AS12-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='AS12-F_Co', folder='XAS/2020/11/AS12-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='AS12-F_F-Fe', folder='XAS/2020/11/AS12-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='AS12-F_O', folder='XAS/2020/11/AS12-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='AS12-F_C', folder='XAS/2020/11/AS12-F/') +# +#time.sleep(1) +# +# +# +# +# +# +######Sample AS13-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS13-F/") +#open_vg13() +# +#TRY.write(10.20) +#TRZ.write(22.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='AS13-F_Survey', folder='XAS/2020/11/AS13-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='AS13-F_Ni', folder='XAS/2020/11/AS13-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='AS13-F_Co', folder='XAS/2020/11/AS13-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', 9) +# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS13-F_F-Fe', folder='XAS/2020/11/AS13-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='AS13-F_O', folder='XAS/2020/11/AS13-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='AS13-F_C', folder='XAS/2020/11/AS13-F/') +# +#time.sleep(1) +# +# +# +# +# +# +#####Sample AS14-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS14-F/") +#open_vg13() +# +#TRY.write(6.20) +#TRZ.write(22.60) +# +# +#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='AS14-F_Survey', folder='XAS/2020/11/AS14-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='AS14-F_Ni', folder='XAS/2020/11/AS14-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='AS14-F_Co', folder='XAS/2020/11/AS14-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='AS14-F_F-Fe', folder='XAS/2020/11/AS14-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='AS14-F_O', folder='XAS/2020/11/AS14-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='AS14-F_C', folder='XAS/2020/11/AS14-F/') +# +#time.sleep(1) +# + + + + + + +#####Sample AS15-F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS15-F/") +#open_vg13() +# +#TRY.write(18.21) +#TRZ.write(29.25) +# +# +#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='AS15-F_Survey', folder='XAS/2020/11/AS15-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='AS15-F_Ni', folder='XAS/2020/11/AS15-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='AS15-F_Co', folder='XAS/2020/11/AS15-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='AS15-F_F-Fe', folder='XAS/2020/11/AS15-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='AS15-F_O', folder='XAS/2020/11/AS15-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='AS15-F_C', folder='XAS/2020/11/AS15-F/') +# +#time.sleep(1) +# + + + + + + +######Sample ASSL1 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/ASSL1/") +#open_vg13() +# +#TRY.write(13.45) +#TRZ.write(29.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='ASSL1_Survey', folder='XAS/2020/11/ASSL1/') +# +##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='ASSL1_Ni', folder='XAS/2020/11/ASSL1/') +# +##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='ASSL1_Co', folder='XAS/2020/11/ASSL1/') +# +#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='ASSL1_F-Fe', folder='XAS/2020/11/ASSL1/') + +##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='ASSL1_Mn', folder='XAS/2020/11/ASSL1/') + +##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='ASSL1_O', folder='XAS/2020/11/ASSL1/') +# +##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='ASSL1_C', folder='XAS/2020/11/ASSL1/') +# +#time.sleep(1) +# + + + + + + + +######Sample ASSL2 +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/ASSL2/") +#open_vg13() +# +#TRY.write(10.43) +#TRZ.write(27.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='ASSL2_Survey', folder='XAS/2020/11/ASSL2/') +# +##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='ASSL2_Ni', folder='XAS/2020/11/ASSL2/') + +##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='ASSL2_Co', folder='XAS/2020/11/ASSL2/') + +##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='ASSL2_F-Fe', folder='XAS/2020/11/ASSL2/') +# +###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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='ASSL2_Mn', folder='XAS/2020/11/ASSL2/') + + +##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='ASSL2_O', folder='XAS/2020/11/ASSL2/') + +##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='ASSL2_C', folder='XAS/2020/11/ASSL2/') +# +#time.sleep(1) + + + + + + + +######Sample Au +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/Au/") +#open_vg13() +# +#TRY.write(3.00) +#TRZ.write(27.45) +# +# +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='Au_Survey', folder='XAS/2020/11/Au/') + + +##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='Au_C', folder='XAS/2020/11/Au/') +# +#time.sleep(1) + +#####Sample Cu_tape +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/Cu_tape/") +open_vg13() + +TRY.write(8.00) +TRZ.write(18.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='Cu_tape_Survey', folder='XAS/2020/11/Cu_tape/') + +##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='ASSL2_Ni', folder='XAS/2020/11/ASSL2/') + +##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='ASSL2_Co', folder='XAS/2020/11/ASSL2/') + +##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='ASSL2_F-Fe', folder='XAS/2020/11/ASSL2/') +# +###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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='ASSL2_Mn', folder='XAS/2020/11/ASSL2/') + + +#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='Cu_tape_O', folder='XAS/2020/11/Cu_tape/') + +#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', 9) + otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='Cu_tape_C', folder='XAS/2020/11/Cu_tape/') + +time.sleep(1) + + + + + +close_vg13() + + diff --git a/script/Users/ales/Holder6.py b/script/Users/ales/Holder6.py new file mode 100644 index 0000000..6f51474 --- /dev/null +++ b/script/Users/ales/Holder6.py @@ -0,0 +1,1221 @@ +# +######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() + + diff --git a/script/Users/ales/Holder7.py b/script/Users/ales/Holder7.py new file mode 100644 index 0000000..1b75adc --- /dev/null +++ b/script/Users/ales/Holder7.py @@ -0,0 +1,987 @@ + +######Sample SL5-IN +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL5-IN/") +#open_vg13() +# +#TRY.write(23.75) +#TRZ.write(17.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-IN_Survey', folder='XAS/2020/11/SL5-IN/') +# +##Nickel L edge +#nr_loops=2 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-IN_Ni', folder='XAS/2020/11/SL5-IN/') +# +##Cobalt L edge +#nr_loops=1 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=772, end=805, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-IN_Co', folder='XAS/2020/11/SL5-IN/') +# +##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='SL5-IN_F-Fe', folder='XAS/2020/11/SL5-IN/') +# +##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='SL5-IN_Mn', folder='XAS/2020/11/SL5-IN/') +# +##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='SL5-IN_O', folder='XAS/2020/11/SL5-IN/') +# +##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='SL5-IN_C', folder='XAS/2020/11/SL5-IN/') +# +#time.sleep(1) +# + + + + + +######Sample SL5F-10IN +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL5F-10IN/") +#open_vg13() +# +#TRY.write(7.25) +#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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5F-10IN_Survey', folder='XAS/2020/11/SL5F-10IN/') +# +##Nickel L edge +#nr_loops=1 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5F-10IN_Ni', folder='XAS/2020/11/SL5F-10IN/') +# +##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='SL5F-10IN_Co', folder='XAS/2020/11/SL5F-10IN/') +# +##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='SL5F-10IN_F-Fe', folder='XAS/2020/11/SL5F-10IN/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-IN_Mn', folder='XAS/2020/11/SL5-IN/') +# +##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='SL5-IN_O', folder='XAS/2020/11/SL5-IN/') + +##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='SL5-IN_C', folder='XAS/2020/11/SL5-IN/') +# +#time.sleep(1) + + + + + + + + +######Sample SL-1moAGED +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-1moAGED/") +#open_vg13() +# +#TRY.write(18.00) +#TRZ.write(17.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-1moAGED_Survey', folder='XAS/2020/11/SL-1moAGED/') +# +##Nickel L edge +#nr_loops=2 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-1moAGED_Ni', folder='XAS/2020/11/SL-1moAGED/') +# +##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='SL-1moAGED_Co', folder='XAS/2020/11/SL-1moAGED/') +# +##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', 9) +# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-1moAGED_F-Fe', folder='XAS/2020/11/SL-1moAGED/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-1moAGED_Mn', folder='XAS/2020/11/SL-1moAGED/') +# +##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='SL-1moAGED_O', folder='XAS/2020/11/SL-1moAGED/') +# +##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='SL-1moAGED_C', folder='XAS/2020/11/SL-1moAGED/') +# +#time.sleep(1) +# +# +# +# +# +# +# +# +######Sample SLF-1moAGED +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SLF-1moAGED/") +#open_vg13() +# +#TRY.write(9.25) +#TRZ.write(15.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SLF-1moAGED_Survey', folder='XAS/2020/11/SLF-1moAGED/') +# +##Nickel L edge +#nr_loops=2 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SLF-1moAGED_Ni', folder='XAS/2020/11/SLF-1moAGED/') +# +##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='SLF-1moAGED_Co', folder='XAS/2020/11/SLF-1moAGED/') +# +##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='SLF-1moAGED_F-Fe', folder='XAS/2020/11/SLF-1moAGED/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SLF-1moAGED_Mn', folder='XAS/2020/11/SLF-1moAGED/') +# +##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='SLF-1moAGED_O', folder='XAS/2020/11/SLF-1moAGED/') +# +##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='SLF-1moAGED_C', folder='XAS/2020/11/SLF-1moAGED/') +# +#time.sleep(1) +# +# +# +# +# +# +# +# +# +# +# +# +# +######Sample SL-60frespellet +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-60frespellet/") +#open_vg13() +# +#TRY.write(22.00) +#TRZ.write(22.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', 10) +## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-60frespellet_Survey', folder='XAS/2020/11/SL-60frespellet/') +## +##Nickel L edge +#nr_loops=3 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-60frespellet_Ni', folder='XAS/2020/11/SL-60frespellet/') +# +##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='SL-60frespellet_Co', folder='XAS/2020/11/SL-60frespellet/') +# +##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='SL-60frespellet_F-Fe', folder='XAS/2020/11/SL-60frespellet/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-60frespellet_Mn', folder='XAS/2020/11/SL-60frespellet/') +# +##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='SL-60frespellet_O', folder='XAS/2020/11/SL-60frespellet/') +# +##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='SL-60frespellet_C', folder='XAS/2020/11/SL-60frespellet/') +# +#time.sleep(1) +# +## +# +# +# +# +# +# +# +# +######Sample SL5-60F +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL5-60F/") +#open_vg13() +# +#TRY.write(20.50) +#TRZ.write(25.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-60F_Survey', folder='XAS/2020/11/SL5-60F/') +# +##Nickel L edge +#nr_loops=2 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-60F_Ni', folder='XAS/2020/11/SL5-60F/') +# +##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='SL5-60F_Co', folder='XAS/2020/11/SL5-60F/') +# +##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='SL5-60F_F-Fe', folder='XAS/2020/11/SL5-60F/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL5-60F_Mn', folder='XAS/2020/11/SL5-60F/') +# +##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='SL5-60F_O', folder='XAS/2020/11/SL5-60F/') +# +##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='SL5-60F_C', folder='XAS/2020/11/SL5-60F/') +# +#time.sleep(1) +# +# +# +# +# +# +# +# +# + + +######Sample SL8-F-Nov +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL8-F-Nov/") +#open_vg13() +# +#TRY.write(7.25) +#TRZ.write(27.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', 10) +## otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-Nov_Survey', folder='XAS/2020/11/SL8-F-Nov/') +## +##Nickel L edge +#nr_loops=1 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-Nov_Ni', folder='XAS/2020/11/SL8-F-Nov/') +# +##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='SL8-F-Nov_Co', folder='XAS/2020/11/SL8-F-Nov/') +# +##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='SL8-F-Nov_F-Fe', folder='XAS/2020/11/SL8-F-Nov/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-Nov_Mn', folder='XAS/2020/11/SL8-F-Nov/') +# +##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='SL8-F-Nov_O', folder='XAS/2020/11/SL8-F-Nov/') +# +##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='SL8-F-Nov_C', folder='XAS/2020/11/SL8-F-Nov/') +# +#time.sleep(1) +# +# +# +# +# +# +######Sample AS1-pris +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS1-pris/") +#open_vg13() +# +#TRY.write(21.80) +#TRZ.write(10.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1-pris_Survey', folder='XAS/2020/11/AS1-pris/') +# +##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='AS1-pris_Ni', folder='XAS/2020/11/AS1-pris/') +# +##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-pris_Co', folder='XAS/2020/11/AS1-pris/') +# +##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-pris_F-Fe', folder='XAS/2020/11/AS1-pris/') +# +##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-pris_O', folder='XAS/2020/11/AS1-pris/') +# +##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='AS1-pris_C', folder='XAS/2020/11/AS1-pris/') +# +#time.sleep(1) + + + + + + + + + + +######Sample AS1F-pris +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/AS1F-pris/") +#open_vg13() +# +#TRY.write(17.50) +#TRZ.write(10.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='AS1F-pris_Survey', folder='XAS/2020/11/AS1F-pris/') +# +##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='AS1F-pris_Ni', folder='XAS/2020/11/AS1F-pris/') +# +##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='AS1F-pris_Co', folder='XAS/2020/11/AS1F-pris/') +# +##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='AS1F-pris_F-Fe', folder='XAS/2020/11/AS1F-pris/') +# +##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='AS1F-pris_O', folder='XAS/2020/11/AS1F-pris/') +# +##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='AS1F-pris_C', folder='XAS/2020/11/AS1F-pris/') +# +#time.sleep(1) + + + + + + + + + + + +######Sample SL8-F-July +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL8-F-July/") +#open_vg13() +# +#TRY.write(8.50) +#TRZ.write(22.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', 10) +# otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-July_Survey', folder='XAS/2020/11/SL8-F-July/') + +##Nickel L edge +#nr_loops=2 +#for i in range(nr_loops): +# caput('X11MA-KEI10:RANGE', 7) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 10) +# otf(start=845, end=885, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-July_Ni', folder='XAS/2020/11/SL8-F-July/') +# +##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='SL8-F-July_Co', folder='XAS/2020/11/SL8-F-July/') +# +##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='SL8-F-July_F-Fe', folder='XAS/2020/11/SL8-F-July/') +# +##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', 10) +# otf(start=630, end=670, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL8-F-July_Mn', folder='XAS/2020/11/SL8-F-July/') +# +# +##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='SL8-F-July_O', folder='XAS/2020/11/SL8-F-July/') +# +##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='SL8-F-July_C', folder='XAS/2020/11/SL8-F-July/') +# +#time.sleep(1) +# +# +# +# +# +# +# +# +# +# + + +#####Sample SL-15ClLKAF +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-15ClLKAF/") +open_vg13() + +TRY.write(1.10) +TRZ.write(26.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=200, end=735, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-15ClLKAF_Survey', folder='XAS/2020/11/SL-15ClLKAF/') +## +##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', 9) +# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-15ClLKAF_F-Fe', folder='XAS/2020/11/SL-15ClLKAF/') +# +##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='SL-15ClLKAF_O', folder='XAS/2020/11/SL-15ClLKAF/') +# +##Carbon + Potassium 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=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-15ClLKAF_C', folder='XAS/2020/11/SL-15ClLKAF/') +# + + + + + + + + + + + + + +######Sample SL-15ClLKAF-air +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-15ClLKAF-air/") +#open_vg13() +# +#TRY.write(2.00) +#TRZ.write(9.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=200, end=735, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-15ClLKAF-air_Survey', folder='XAS/2020/11/SL-15ClLKAF-air/') +## +###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', 9) +## otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-15ClLKAF-air_F-Fe', folder='XAS/2020/11/SL-15ClLKAF-air/') +## +###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='SL-15ClLKAF-air_O', folder='XAS/2020/11/SL-15ClLKAF-air/') +## +##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='SL-15ClLKAF-air_C', folder='XAS/2020/11/SL-15ClLKAF-air/') +# +#time.sleep(1) +# +# + + + + + + + + + + +#####Sample SL-BMLKAF +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-BMLKAF/") +open_vg13() + +TRY.write(0.10) +TRZ.write(21.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=200, end=735, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-BMLKAF_Survey', folder='XAS/2020/11/SL-BMLKAF/') +# +##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='SL-BMLKAF_F-Fe', folder='XAS/2020/11/SL-BMLKAF/') +# +##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='SL-BMLKAF_O', folder='XAS/2020/11/SL-BMLKAF/') +# +##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='SL-BMLKAF_C', folder='XAS/2020/11/SL-BMLKAF/') + +#Aluminum L edge +nr_loops=2 +for i in range(nr_loops): + caput('X11MA-KEI10:RANGE', 7) + caput('X11MA-KEI11:RANGE', 9) + caput('X11MA-KEI12:RANGE', 9) + otf(start=1558, end=1592, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-BMLKAF_Al', folder='XAS/2020/11/SL-BMLKAF/') + +time.sleep(1) + + + + + + + + + + +# +# +######Sample SL-LKAF +#set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/11/SL-LKAF/") +#open_vg13() +# +#TRY.write(1.50) +#TRZ.write(15.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=200, end=735, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-LKAF_Survey', folder='XAS/2020/11/SL-LKAF/') +# +##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', 9) +# otf(start=680, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='SL-LKAF_F-Fe', folder='XAS/2020/11/SL-LKAF/') +# +###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='SL-LKAF_O', folder='XAS/2020/11/SL-LKAF/') +# +##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='SL-LKAF_C', folder='XAS/2020/11/SL-LKAF/') +# +# +#time.sleep(1) +# +# +close_vg13() +## +# diff --git a/script/Users/carlos/goetite.py b/script/Users/carlos/goetite.py new file mode 100644 index 0000000..df11bec --- /dev/null +++ b/script/Users/carlos/goetite.py @@ -0,0 +1,16 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/26102020/") + +sample = 'goetite_lowdensity2' +#TRY.write(8) +#TRZ.write(16.2) + +open_vg13() +time.sleep(1) + +for i in range(1): + caput('X11MA-KEI10:RANGE', 5) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 9) + otf(start=700, end=735, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'Fe', folder='/sls/X11MA/data/X11MA/Data1/XAS/2020/10/26102020/') +# otf(start=520, end=550, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'O', folder=path) diff --git a/script/Users/carlos/pa2.py b/script/Users/carlos/pa2.py new file mode 100644 index 0000000..0736dc4 --- /dev/null +++ b/script/Users/carlos/pa2.py @@ -0,0 +1,65 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/26102020/") + +#Check why this does not work: +#otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'Fe', folder='/sls/X11MA/data/X11MA/Data1/XAS/2020/10/26102020/') + +open_vg13() +time.sleep(1) + +sample = 'reference' +TRY.write(9.5) +TRZ.write(8.8) + +#for i in range(1): +caput('X11MA-KEI10:RANGE', 6) +caput('X11MA-KEI11:RANGE', 7) +caput('X11MA-KEI12:RANGE', 8) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + + +TRZ.write(9.0) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + +TRZ.write(9.2) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + + +sample = 'PA2' + +TRZ.write(14.8) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + +TRZ.write(15.0) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + +TRZ.write(15.2) +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') +otf(start=690, end=735, time=4, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Fe_300K', folder='./') + + + + +#sample = 'PA2' +#TRY.write(10) +#TRZ.write(10.3) + +#for i in range(10): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 7) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=705, end=740, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'Fe', folder=path) +# otf(start=520, end=550, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'O', folder=path) + +time.sleep(3) +close_vg13() + + +#Measurement at 300 K + +#X11MA-ES3-LSCI:TEMP-STAT \ No newline at end of file diff --git a/script/Users/gesara/19okt2020_Circscan.py b/script/Users/gesara/19okt2020_Circscan.py new file mode 100644 index 0000000..9d4957c --- /dev/null +++ b/script/Users/gesara/19okt2020_Circscan.py @@ -0,0 +1,105 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/") + + + +open_vg13() +time.sleep(1) + + +#sample = 'LiMn2O4' +#TRY.write(10) +#TRZ.write(10.3) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 7) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + + +#sample = 'LCO' +#TRY.write(6.5) +#TRZ.write(10.3) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + + +sample = 'Mn2O3' +TRY.write(8.0) +TRZ.write(16.2) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 6) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(2): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + + +#sample = 'LiMnO2' +#TRY.write(6.25) +#TRZ.write(15.7) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 8) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + + +time.sleep(3) +close_vg13() + diff --git a/script/Users/gesara/20okt2020_Circscan_TF.py b/script/Users/gesara/20okt2020_Circscan_TF.py new file mode 100644 index 0000000..b17e8ee --- /dev/null +++ b/script/Users/gesara/20okt2020_Circscan_TF.py @@ -0,0 +1,98 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/") + +sample = 'LLSMOX_TF' +TRY.write(9.75) +TRZ.write(9.7) + +open_vg13() +time.sleep(1) + +caput('X11MA-ES3-MAG1:V', 10) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 8) + caput('X11MA-KEI12:RANGE', 8) + #otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + #otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + +caput('X11MA-ES3-MAG1:V', -10) + +for i in range(2): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 8) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + + +sample = 'LLSMOXII_TF' +TRY.write(9.75) +TRZ.write(15.8) + +caput('X11MA-ES3-MAG1:V', 10) + +for i in range(2): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 8) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + +caput('X11MA-ES3-MAG1:V', -10) + +for i in range(2): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cm', folder='./') + otf(start=620, end=680, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Mn_cp', folder='./') + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 8) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + +caput('X11MA-ES3-MAG1:V', 0) +time.sleep(3) +close_vg13() diff --git a/script/Users/gesara/20okt2020_Powders.py b/script/Users/gesara/20okt2020_Powders.py new file mode 100644 index 0000000..69a922d --- /dev/null +++ b/script/Users/gesara/20okt2020_Powders.py @@ -0,0 +1,63 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/") + +#sample = 'LMNO_powder' +#TRY.write(8) +#TRZ.write(16.2) + +open_vg13() +time.sleep(1) + +#for i in range(0): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 7) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=620, end=680, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Mn_l1', folder='./') +# otf(start=620, end=680, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Mn_l2', folder='./') +# otf(start=620, end=680, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Mn_l3', folder='./') +# otf(start=620, end=680, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=-2.5, name=sample+'_Mn_l4', folder='./') + +sample = 'Fe2O3_powder' +TRY.write(10) +TRZ.write(10.3) + +for i in range(0): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 7) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + + +sample = 'Fe3O4_powder' +TRY.write(6.5) +TRZ.write(10.3) + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') + otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 7) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + +time.sleep(3) +close_vg13() diff --git a/script/Users/gesara/Dy_circscan.py b/script/Users/gesara/Dy_circscan.py new file mode 100644 index 0000000..470be76 --- /dev/null +++ b/script/Users/gesara/Dy_circscan.py @@ -0,0 +1,115 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/") + + +open_vg13() +time.sleep(1) + +#sample = 'Dy90' +#TRY.write(6) +#TRZ.write(9.7) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') + +#sample = 'Dy97' +#TRY.write(6) +#TRZ.write(15.3) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') + +#sample = 'Dy_powder' +#TRY.write(9.25) +#TRZ.write(15.5) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +## otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') + # otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') + # otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') + # otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): + # caput('X11MA-KEI10:RANGE', 6) + ## +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') + +sample = 'Dy_singlecrystal' +TRY.write(9.75) +TRZ.write(9.7) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +## caput('X11MA-KEI11:RANGE', 10) +# caput('X11MA-KEI12:RANGE', 9) +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm', folder='./') +# otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp', folder='./') + +caput('X11MA-ES3-MAG1:V', -10) + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 10) + caput('X11MA-KEI12:RANGE', 10) + otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') + otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') + otf(start=1270, end=1350, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cm_mH', folder='./') + otf(start=1270, end=1350, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Dy_cp_mH', folder='./') + +caput('X11MA-ES3-MAG1:V', 0) + +time.sleep(3) +close_vg13() + diff --git a/script/Users/gesara/Fe_O_circscan.py b/script/Users/gesara/Fe_O_circscan.py new file mode 100644 index 0000000..c53f2eb --- /dev/null +++ b/script/Users/gesara/Fe_O_circscan.py @@ -0,0 +1,108 @@ +#otf(start, end, time, delay = 0.0, mode = None, offset = None, alpha = None, name = None, folder = 'TEST') +set_exec_pars(path="/sls/X11MA/data/X11MA/Data1/XAS/2020/10/19102020/") + +open_vg13() +time.sleep(1) + +#sample = 'Dy97' +#TRY.write(6) +#TRZ.write(15.3) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 9) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') + +#caput('X11MA-ES3-MAG1:V', 0) + + +#sample = 'Dy_powder' +#TRY.write(9.25) +#TRZ.write(15.5) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 8) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): +# caput('X11MA-KEI11:RANGE', 8) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') + +#caput('X11MA-ES3-MAG1:V', 0) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 8) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') +# otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + + +sample = 'Dy_singlecrystal' +TRY.write(9.75) +TRZ.write(9.7) + +#caput('X11MA-ES3-MAG1:V', 10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 8) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp', folder='./') + +#caput('X11MA-ES3-MAG1:V', -10) + +#for i in range(1): +# caput('X11MA-KEI10:RANGE', 6) +# caput('X11MA-KEI11:RANGE', 8) +# caput('X11MA-KEI12:RANGE', 8) +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cm_mH', folder='./') +# otf(start=690, end=750, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_Fe_cp_mH', folder='./') + +#caput('X11MA-ES3-MAG1:V', 0) + +for i in range(1): + caput('X11MA-KEI10:RANGE', 6) + caput('X11MA-KEI11:RANGE', 7) + caput('X11MA-KEI12:RANGE', 8) + otf(start=520, end=570, time=5, delay=10, mode='CIRC +', alpha = 0.0, offset=-2.5, name=sample+'_O_cp', folder='./') + otf(start=520, end=570, time=5, delay=10, mode='CIRC -', alpha = 0.0, offset=-2.5, name=sample+'_O_cm', folder='./') + +time.sleep(3) +close_vg13() +