This commit is contained in:
gac-x11ma
2019-03-06 10:21:09 +01:00
parent 93d41ad52c
commit 088493ceb8
5 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
file_prefix = time.strftime("%Y%m%d")
# CHANGE THE PATH IN THE OTH
input_path = "/sls/X11MA/data/X11MA/Data1/public/scans/GMT_Juraj/"
input_path = "/sls/X11MA/data/X11MA/Data1/public/scans/1809_Armin/"
#input_path = "/sls/X11MA/data/X11MA/slsbl/x11ma/e17174/Data1/Aug_2018/sample02-LMNO_pristine/"
output_path = input_path

View File

@@ -29,7 +29,7 @@ for B in setpoints:
readback1 = caget("X11MA-XMCD:Ireadout")
time.sleep(0.5)
run("Energy_MagScan.py")
run("E_scan.py")

View File

@@ -1,9 +1,9 @@
#Parameters
ROUNDS = 1
E1 = 625
E2 = 635
TIME = 1
E1 = 634
E2 = 665
TIME = 3
B1 = 0 # starting mag. field in Amps
B2 = 1 # final mag. field in Amps
@@ -21,6 +21,14 @@ B2 = 0.5 # final mag. field in Amps
BSTEP = 0.5 # step size mag. field in Amps
ENERGIES = [635, 637, 639] #list of energies in eV
OFFSET1 = -2.0 #eV
OFFSET2 = -2.9 #eV
caput(OTF_OFF2,OFFSET2) # tune ID2 ---> C-
caput(OTF_OFF1,OFFSET1-40) # detune ID1
#caput(OTF_OFF1,OFFSET1) # tune ID1 ---> C+
#caput(OTF_OFF2,OFFSET2-40) # detune ID2
wait_channel(OTF_DONE, 1, type = 'i')
run("FixedE.py")