Script execution
This commit is contained in:
45
script/users/X-Treme users/X-Treme_XPSScan_HOPG.py
Normal file
45
script/users/X-Treme users/X-Treme_XPSScan_HOPG.py
Normal file
@@ -0,0 +1,45 @@
|
||||
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
|
||||
ExitSlit.write(30)
|
||||
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":True, "pass_energy":50})
|
||||
|
||||
"""
|
||||
|
||||
# C 1s 500 eV fine scan
|
||||
rs = RangeSelection(495.0,521.0)
|
||||
rs.setVars([0.5, 0.05, 3, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":True, "pass_energy":50})
|
||||
|
||||
|
||||
"""
|
||||
# C 1s 500 eV fine scan
|
||||
rs = RangeSelection(499.0,515.0)
|
||||
rs.setVars([0.5, 0.05, 3, 800.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":True, "pass_energy":50})
|
||||
"""
|
||||
|
||||
"""
|
||||
# VB 62 eV fine scan exit slit 100
|
||||
ExitSlit.write(50)
|
||||
rs = RangeSelection(44.0,59.0)
|
||||
rs.setVars([0.5, 0.02, 3, 62.0]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs,], "ENDSCAN":True, "pass_energy":20})
|
||||
Reference in New Issue
Block a user