10 lines
346 B
Python
10 lines
346 B
Python
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
|
|
|
rs = RangeSelection(90.0, 105.0)
|
|
rs.setVars([0.5, 0.05, 1, 305.]) #Time, Size, Iteration, photon energy
|
|
|
|
run("XPSSpectrum", {"save_scienta_image":True,
|
|
"ranges":[rs, ],
|
|
"ENDSCAN":True,
|
|
"pass_energy":50})
|