Script execution
This commit is contained in:
@@ -3,12 +3,23 @@ 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
|
||||
|
||||
rs = RangeSelection(100.0,805.0)
|
||||
rs.setVars([0.5, 0.5, 1, 805.]) #Time, Size, Iteration, photon energy
|
||||
"""# 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
|
||||
Ephot = 800.0
|
||||
rs = RangeSelection(498.0,516.0)
|
||||
rs.setVars([0.5, 0.05, 3, Ephot]) #Time, Size, Iteration, photon energy
|
||||
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, "pass_energy":50})
|
||||
|
||||
run("XPSSpectrum", {"save_scienta_image":True,
|
||||
"ranges":[rs, ],
|
||||
"ENDSCAN":False,
|
||||
"pass_energy":50})
|
||||
|
||||
Reference in New Issue
Block a user