19 lines
495 B
Python
19 lines
495 B
Python
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
|
|
|
ranges = []
|
|
|
|
|
|
#
|
|
rs = RangeSelection(138.0, 151.0)
|
|
rs.setVars([0.25, 0.05, 10, 545.]) #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":10})
|
|
|