Script execution

This commit is contained in:
gac-x03da
2019-11-24 19:49:00 +01:00
parent dba13434b5
commit 096f483c10

View File

@@ -2,7 +2,7 @@ def do_overview_As3d_In4d():
set_exec_pars(name="Overview-As3d-In4d-"+str(e)+"eV")
move_to_position(SAMPLE_POSITION)
center_As_3d = photon_energy - 4.5 - binding_center_As_3d
center_As_4d = photon_energy - 4.5 - binding_center_In_4d
center_In_4d = photon_energy - 4.5 - binding_center_In_4d
rs = RangeSelection(center_As_3d-window_As_3d/2.,center_In_4d+window_In_4d/2.)
rs.setVars([time_overview, 0.05, 1, photon_energy]) #Time, Size, Iteration, photon energy