From 6f9ccd0b7ad5a047cb2362a475d4ad291482a7a8 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 21 Apr 2020 15:43:02 +0200 Subject: [PATCH] Script execution --- script/test/demo_calling_xps.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/script/test/demo_calling_xps.py b/script/test/demo_calling_xps.py index 82ff15cb..cc3497ba 100644 --- a/script/test/demo_calling_xps.py +++ b/script/test/demo_calling_xps.py @@ -1,9 +1,17 @@ import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection -rs = RangeSelection(902.0,920.0) -rs.setVars([0.5, 0.5, 1, 800.]) #Time, Size, Iteration, photon energy +rs = RangeSelection(408.0,414.0) +rs.setVars([0.5, 0.2, 1, 700.]) #Time, Size, Iteration, photon energy run("XPSSpectrum", {"save_scienta_image":True, "ranges":[rs, ], "ENDSCAN":False, - "pass_energy":50}) \ No newline at end of file + "pass_energy":50}) + +rs = RangeSelection(458.0,464.0) +rs.setVars([0.5, 0.2, 1, 750.]) #Time, Size, Iteration, photon energy + +run("XPSSpectrum", {"save_scienta_image":True, + "ranges":[rs, ], + "ENDSCAN":False, + "pass_energy":50})