Script execution
This commit is contained in:
24
script/users/TUM/TUM_MultiXPS_2020.py
Normal file
24
script/users/TUM/TUM_MultiXPS_2020.py
Normal file
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user