Script execution
This commit is contained in:
48
script/users/TUM/Si_Ag111.py
Normal file
48
script/users/TUM/Si_Ag111.py
Normal file
@@ -0,0 +1,48 @@
|
||||
import ch.psi.pshell.plot.RangeSelectionPlot.RangeSelection as RangeSelection
|
||||
|
||||
ranges = []
|
||||
|
||||
# Ag 3d5/2
|
||||
rs = RangeSelection(160.0, 164.0)
|
||||
rs.setVars([0.25, 0.05, 5, 535.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
# FE
|
||||
rs = RangeSelection(527, 533)
|
||||
rs.setVars([0.25, 0.05, 5, 535.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# Ag 3d5/2
|
||||
rs = RangeSelection(60.0, 64.0)
|
||||
rs.setVars([0.25, 0.05, 5, 435.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
# Si 2p
|
||||
rs = RangeSelection(328.5, 333.0)
|
||||
rs.setVars([0.25, 0.05, 10, 435.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
# FE
|
||||
rs = RangeSelection(427, 433)
|
||||
rs.setVars([0.25, 0.05, 5, 435.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# Si 2p
|
||||
rs = RangeSelection(143.0, 149.0)
|
||||
rs.setVars([0.25, 0.05, 10, 250.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
# FE
|
||||
rs = RangeSelection(242.0, 248.0)
|
||||
rs.setVars([0.25, 0.05, 5, 250.]) #Time, Size, Iteration, photon energy
|
||||
ranges.append(rs)
|
||||
|
||||
# VB
|
||||
rs = RangeSelection(123.0, 134.5)
|
||||
rs.setVars([0.25, 0.05, 10, 137.]) #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