From fe3afd593492f5baa201a6302ae6ecec54918861 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Fri, 10 Jul 2020 17:49:44 +0200 Subject: [PATCH] Script execution --- .../TUM/TUM_MultiXPS_2020_pre_Co_NEXAFS.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 script/users/TUM/TUM_MultiXPS_2020_pre_Co_NEXAFS.py diff --git a/script/users/TUM/TUM_MultiXPS_2020_pre_Co_NEXAFS.py b/script/users/TUM/TUM_MultiXPS_2020_pre_Co_NEXAFS.py new file mode 100644 index 00000000..17867307 --- /dev/null +++ b/script/users/TUM/TUM_MultiXPS_2020_pre_Co_NEXAFS.py @@ -0,0 +1,29 @@ +import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection + +ranges = [] + +# N 1s +rs = RangeSelection(368.0, 374.0) +rs.setVars([0.25, 0.05, 2, 774.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +# Ag 3d calibration for N 1s +rs = RangeSelection(392.0, 404.0) +rs.setVars([0.25, 0.05, 1, 774.]) #Time, Size, Iteration, photon energy +ranges.append(rs) + +# C 1s +rs = RangeSelection(480.0, 488.0) +rs.setVars([0.25, 0.05, 2, 774.]) #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":50}) +