From 8797ee2a35d9aacbd69c2c1b363cff6a9970d78c Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Wed, 8 Jul 2020 17:11:04 +0200 Subject: [PATCH] Script execution --- script/users/TUM/TUM_MultiXPS_2020.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 script/users/TUM/TUM_MultiXPS_2020.py diff --git a/script/users/TUM/TUM_MultiXPS_2020.py b/script/users/TUM/TUM_MultiXPS_2020.py new file mode 100644 index 00000000..ebcbfaa8 --- /dev/null +++ b/script/users/TUM/TUM_MultiXPS_2020.py @@ -0,0 +1,24 @@ +import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection + +ranges = [] + +rs = RangeSelection(135.0, 157.5) +rs.setVars([0.25, 0.05, 3, 950.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +rs = RangeSelection(468.0, 474.0) +rs.setVars([0.25, 0.05, 1, 950.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +rs = RangeSelection(120.0, 140.0) +rs.setVars([0.25, 0.05, 1, 550.]) #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, + "pass_energy":10}) +