Script execution

This commit is contained in:
gac-x03da
2022-05-15 09:12:04 +02:00
parent 861bcdceee
commit c3cff99070
@@ -12,13 +12,20 @@ if caget('X03DA-OP-VG7:OPEN') == 'Not_Open':
#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})
"""
# 800 eV K 2p fine scan
ExitSlit.write(30)
rs = RangeSelection(493.0,510.0)
rs.setVars([0.5, 0.5, 1, 800.0]) #Time, Size, Iteration, photon energy
run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":True, "pass_energy":50})
"""