29 lines
770 B
Python
29 lines
770 B
Python
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
|
|
|
ranges = []
|
|
|
|
|
|
# Survey
|
|
rs = RangeSelection(75.0, 700.0)
|
|
rs.setVars([0.5, 1., 1, 710.]) #Time, Size, Iteration, photon energy
|
|
ranges.append(rs)
|
|
|
|
# Ag 3d5/2
|
|
#rs = RangeSelection(50.0, 80.0)
|
|
#rs.setVars([0.5, 0.075, 1, 435.]) #Time, Size, Iteration, photon energy
|
|
#ranges.append(rs)
|
|
|
|
# Si 2p
|
|
#rs = RangeSelection(310.0, 340.0)
|
|
#rs.setVars([0.5, 0.075, 1, 435.]) #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": False,
|
|
"pass_energy":20})
|
|
|