Script execution

This commit is contained in:
gac-x03da
2019-11-22 14:29:17 +01:00
parent 480f0ceeb4
commit 921bffe3fb

View File

@@ -13,26 +13,28 @@ def move_to_position(pdict):
#Au600
move_to_position(REFERENCE_POSITION)
rs = RangeSelection(595.0,597.0)
rs.setVars([1., 0.1, 1, 600.]) #Time, Size, Iteration, photon energy
rs = RangeSelection(347.0,354.0)
rs.setVars([1., 1., 1, 800.]) #Time, Size, Iteration, photon energy
run("XPSSpectrum", {"save_scienta_image":True,
"ranges":[rs, ],
"ENDSCAN":False,
"pass_energy":20})
"pass_energy":100})
set_exec_pars(open=False)
flush_data()
#In600
move_to_position(SAMPLE_POSITION)
#rs = RangeSelection(140.0,153.0)
rs = RangeSelection(140.0,146.0)
rs = RangeSelection(347.0,354.0)
rs.setVars([1., 0.2, 1, 600.]) #Time, Size, Iteration, photon energy
rs.setVars([1., 1., 1, 800.]) #Time, Size, Iteration, photon energy
run("XPSSpectrum", {"save_scienta_image":True,
"ranges":[rs, ],
"ENDSCAN":False,
"pass_energy":20})
"pass_energy":100})
flush_data()