Script execution

This commit is contained in:
gac-x03da
2021-01-27 03:22:58 +01:00
parent c72a5a3faa
commit 5bbad70d42

View File

@@ -2,21 +2,17 @@ import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
ranges = []
# Si 2p
rs = RangeSelection(328, 333)
rs.setVars([0.25, 0.05, 1, 435.]) #Time, Size, Iteration, photon energy
ranges.append(rs))
# Ag 3d5/2
#rs = RangeSelection(60.0, 64.0)
#rs.setVars([0.25, 0.05, 1, 435.]) #Time, Size, Iteration, photon energy
#ranges.append(rs)
#
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": False,
"ENDSCAN": True,
"pass_energy":10})