136 lines
4.1 KiB
Python
136 lines
4.1 KiB
Python
|
|
|
|
#XAS YBCO with XMCD 0T
|
|
|
|
#set_vert(7.5)
|
|
#set_hor(107.5)
|
|
|
|
|
|
#O K edge
|
|
off_LH=2.0
|
|
off_LV=2.0
|
|
Estart=520
|
|
Eend=550
|
|
sample_name = 'O_5YBCO5LSMO5_100K'
|
|
|
|
#set_slit(20)
|
|
#set_har(1.0)
|
|
#set_au_mesh(125.0)
|
|
set_energy(Estart)
|
|
open_valve()
|
|
|
|
|
|
nr_loops=1
|
|
|
|
loop_count = 0
|
|
while loop_count < nr_loops:
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=0.0, offset = off_LH, name = sample_name + '_LH')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LV')
|
|
loop_count = loop_count + 1
|
|
|
|
close_valve()
|
|
|
|
#Mn L2,3 edge with XMCD 0T
|
|
off_LH=0.5 #0 deg
|
|
off_LV=0.5 #90 deg
|
|
Estart=630
|
|
Eend=685
|
|
sample_name = 'Mn_5YBCO5LSMO5_100K'
|
|
|
|
#set_slit(20)
|
|
#set_har(1.0)
|
|
#set_au_mesh(125.0)
|
|
set_energy(Estart)
|
|
open_valve()
|
|
|
|
|
|
nr_loops=1
|
|
|
|
loop_count = 0
|
|
while loop_count < nr_loops:
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=0.0, offset = off_LH, name = sample_name + '_LH')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LV')
|
|
loop_count = loop_count + 1
|
|
'''
|
|
set_hx(0.0)
|
|
|
|
off_plus=-0.2
|
|
off_minus=1.8
|
|
|
|
Estart=630
|
|
Eend=685
|
|
|
|
#set_range('k1', 10)
|
|
|
|
sample_name = 'Mn_5LSMO5YBCO5LSMO_1K_0T'
|
|
|
|
nr_loops=1
|
|
|
|
|
|
loop_count = 0
|
|
while loop_count < nr_loops:
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
loop_count = loop_count + 1
|
|
|
|
'''
|
|
close_valve()
|
|
|
|
|
|
#Cu L2,3 edge with XMCD 0T
|
|
off_LH=2.0
|
|
off_LV=2.5
|
|
Estart=920
|
|
Eend=970
|
|
sample_name = 'Cu_5YBCO5LSMO5_100K'
|
|
|
|
#set_slit(20)
|
|
#set_har(1.0)
|
|
#set_au_mesh(125.0)
|
|
set_energy(Estart)
|
|
open_valve()
|
|
|
|
|
|
nr_loops=1
|
|
|
|
loop_count = 0
|
|
while loop_count < nr_loops:
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=0.0, offset = off_LH, name = sample_name + '_LH')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
# otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LIN_90')
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "LINEAR", alpha=90.0, offset = off_LV, name = sample_name+ '_LV')
|
|
loop_count = loop_count + 1
|
|
'''
|
|
set_hx(0.0)
|
|
|
|
off_plus=3
|
|
off_minus=5
|
|
|
|
|
|
#set_range('k1', 10)
|
|
|
|
sample_name = 'Cu_5LSMO5YBCO5LSMO_1K_0T'
|
|
|
|
nr_loops=1
|
|
|
|
|
|
loop_count = 0
|
|
while loop_count < nr_loops:
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC +", offset = off_plus, name = sample_name)
|
|
otf(start=Estart, end=Eend, time=3, delay=10, mode = "CIRC -", offset = off_minus, name = sample_name)
|
|
loop_count = loop_count + 1
|
|
'''
|
|
|
|
close_valve() |