Script execution
This commit is contained in:
+15
-4
@@ -1,4 +1,15 @@
|
||||
for i in range(0,repetitions/2.):
|
||||
#####################################################
|
||||
#As
|
||||
do_In_4d()
|
||||
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)
|
||||
Reference in New Issue
Block a user