Script execution
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
||||
|
||||
# caution: do not insert multiple runs in the same script!
|
||||
# earlier runs are overwritten!
|
||||
|
||||
ranges = []
|
||||
|
||||
# Ge 3d
|
||||
rs = RangeSelection(115.0,125.0)
|
||||
rs.setVars([0.3, 0.05, 3, 155.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# Mn 3p, Te 4d
|
||||
rs = RangeSelection(112.0,128.0)
|
||||
rs.setVars([0.3, 0.05, 3, 169.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# Te 4s
|
||||
rs = RangeSelection(115.0,125.0)
|
||||
rs.setVars([0.3, 0.05, 3, 290.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# C 1s
|
||||
rs = RangeSelection(115.0,125.0)
|
||||
rs.setVars([0.3, 0.05, 3, 409.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
run("XPSSpectrum", {"save_scienta_image":True,
|
||||
"ranges":ranges,
|
||||
"ENDSCAN":True,
|
||||
"pass_energy":50})
|
||||
Reference in New Issue
Block a user