Script execution

This commit is contained in:
gac-x03da
2022-04-07 13:08:01 +02:00
parent 8471371cd2
commit 3acbcdefd8

View File

@@ -0,0 +1,36 @@
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
ranges = []
#GRATING 1
# C 1s
rs = RangeSelection(96.0, 107.0)
rs.setVars([0.5, 0.05, 10, 390.0]) #Time, Size, Iteration, photon energy
ranges.append(rs)
#FL calibration for C 1s
rs = RangeSelection(384.2, 386.2)
rs.setVars([0.5, 0.05, 5, 390.0]) #Time, Size, Iteration, photon energy
ranges.append(rs)
# Ir 4f
rs = RangeSelection(77.0, 88.0)
rs.setVars([0.5, 0.05, 5, 150.0]) #Time, Size, Iteration, photon energy
ranges.append(rs)
#FL calibration for Ir 4f
rs = RangeSelection(144.2, 146.2)
rs.setVars([0.5, 0.05, 10, 150.0]) #Time, Size, Iteration, photon energy
ranges.append(rs)
# Valence band
rs = RangeSelection(163.0, 175.0)
rs.setVars([0.25, 0.05, 1, 60.0]) #Time, Size, Iteration, photon energy
ranges.append(rs)
run("XPSSpectrum", {"save_scienta_image":True,
"ranges": ranges,
"ENDSCAN": True,
"pass_energy":10})