Files
x03da/script/test/demo_calling_xps.py
gac-x03da 910d1cf7d1 Closedown
2020-04-21 19:08:08 +02:00

13 lines
447 B
Python

import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
# caution: do not insert multiple runs in the same script!
# earlier runs are overwritten!
rs = RangeSelection(408.0,414.0)
rs.setVars([0.5, 0.2, 1, 700.]) #Time, Size, Iteration, photon energy
run("XPSSpectrum", {"save_scienta_image":True,
"ranges":[rs, ],
"ENDSCAN":False,
"pass_energy":50})