From d5ceb2acf51dd1ae38149686aa8a224d4df90ce5 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Fri, 10 Jul 2020 10:38:41 +0200 Subject: [PATCH] Script execution --- .../users/TUM/TUM_MultiXPS_2020_preNEXAFS.py | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 script/users/TUM/TUM_MultiXPS_2020_preNEXAFS.py diff --git a/script/users/TUM/TUM_MultiXPS_2020_preNEXAFS.py b/script/users/TUM/TUM_MultiXPS_2020_preNEXAFS.py new file mode 100644 index 00000000..c867c887 --- /dev/null +++ b/script/users/TUM/TUM_MultiXPS_2020_preNEXAFS.py @@ -0,0 +1,33 @@ +import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection + +ranges = [] + +# N 1s +rs = RangeSelection(140.0, 154.0) +rs.setVars([0.25, 0.05, 10, 550.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +# Ag 3d calibration for N 1s +rs = RangeSelection(168.0, 180.0) +rs.setVars([0.25, 0.05, 1, 550.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +# C 1s +rs = RangeSelection(136.0, 150.0) +rs.setVars([0.25, 0.05, 10, 435.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +# Fermi edge for C 1s +rs = RangeSelection(425.0, 435.0) +rs.setVars([0.25, 0.05, 3, 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}) +