Script execution

This commit is contained in:
gac-x03da
2021-01-27 02:33:18 +01:00
parent a71f0bba71
commit 66812fea1a

View File

@@ -8,12 +8,17 @@ rs = RangeSelection(60.0, 64.0)
rs.setVars([0.25, 0.05, 1, 435.]) #Time, Size, Iteration, photon energy
ranges.append(rs)
# Si 2p
rs = RangeSelection(328, 33)
rs.setVars([0.25, 0.05, 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": True,
"ENDSCAN": False,
"pass_energy":10})