Script execution
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
||||
|
||||
ranges = []
|
||||
|
||||
# N 1s
|
||||
rs = RangeSelection(144.0, 150.0)
|
||||
rs.setVars([0.25, 0.05, 2, 550.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# Ag 3d calibration for N 1s
|
||||
rs = RangeSelection(168.0, 180.0)
|
||||
rs.setVars([0.25, 0.05, 1, 550.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# C 1s
|
||||
rs = RangeSelection(256.0, 264.0)
|
||||
rs.setVars([0.25, 0.05, 2, 550.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
|
||||
|
||||
# caution: do not insert multiple run commands in the same script!
|
||||
# earlier data is overwritten!
|
||||
|
||||
run("XPSSpectrum", {"save_scienta_image":True,
|
||||
"ranges": ranges,
|
||||
"ENDSCAN": True,
|
||||
"pass_energy":50})
|
||||
|
||||
Reference in New Issue
Block a user