Script execution

This commit is contained in:
gac-x03da
2021-01-27 03:23:45 +01:00
parent 5bbad70d42
commit 10d7950a20
+4 -4
View File
@@ -3,9 +3,9 @@ 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
# Survey
rs = RangeSelection(75.0, 700.0)
rs.setVars([0.1, 1., 1, 710.]) #Time, Size, Iteration, photon energy
ranges.append(rs)
# caution: do not insert multiple run commands in the same script!
@@ -13,6 +13,6 @@ ranges.append(rs)
run("XPSSpectrum", {"save_scienta_image":True,
"ranges": ranges,
"ENDSCAN": True,
"ENDSCAN": False,
"pass_energy":10})