15 lines
650 B
Python
15 lines
650 B
Python
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
|
|
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
|
|
|
|
run("XPSSpectrum", {"save_scienta_image":True,
|
|
"ranges":[rs, ],
|
|
"ENDSCAN":False,
|
|
"pass_energy":pass_energy_dict[e]})
|
|
|
|
set_exec_pars(open=False) |