diff --git a/script/users/TUM/test.py b/script/users/TUM/test.py new file mode 100644 index 00000000..bd582f65 --- /dev/null +++ b/script/users/TUM/test.py @@ -0,0 +1,19 @@ +import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection + +ranges = [] + + +# 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) + + +# 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}) +