Script execution
This commit is contained in:
50
script/users/X-Treme users/X-Treme_XPSScan_BP.py
Normal file
50
script/users/X-Treme users/X-Treme_XPSScan_BP.py
Normal file
@@ -0,0 +1,50 @@
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
||||
|
||||
# caution: do not insert multiple runs in the same script!
|
||||
# earlier runs are overwritten!
|
||||
|
||||
################## THIS IS TO OPEN THE VALVES /SHUTTER
|
||||
if caget('X03DA-OP-VG7:OPEN') == 'Not_Open':
|
||||
caput('X03DA-OP-VG7:WT_SET',0) #open ES vacuum valve
|
||||
time.sleep(0.2)
|
||||
caput('X03DA-OP-VG7:WT_SET',1) #open ES vacuum valve
|
||||
|
||||
#Grating should be G1 / 600 for 800 eV overview spectrum
|
||||
|
||||
|
||||
|
||||
|
||||
# 800 eV Overview Scan
|
||||
Ephot = 800.0
|
||||
rs = RangeSelection(100.0,Ephot)
|
||||
rs.setVars([0.5, 0.5, 1, Ephot]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":50})
|
||||
|
||||
"""
|
||||
# 800 eV C 1s fine scan
|
||||
rs = RangeSelection(498.0,516.0)
|
||||
rs.setVars([0.5, 0.05, 3, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":20})
|
||||
"""
|
||||
|
||||
"""
|
||||
# 800 eV Ag 3d fine scan
|
||||
rs = RangeSelection(417.0,431.0)
|
||||
rs.setVars([0.5, 0.02, 1, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":50})
|
||||
|
||||
"""
|
||||
"""
|
||||
# 800 eV VB and Fermi level fine scan
|
||||
rs = RangeSelection(783.0,797.0)
|
||||
rs.setVars([0.5, 0.02, 3, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":50})
|
||||
"""
|
||||
"""
|
||||
# 800 eV Er 4d
|
||||
rs = RangeSelection(619.0,629.0)
|
||||
rs.setVars([0.5, 0.05, 3, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":50})
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user