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}) +