hyperspy.misc.eels package¶
Submodules¶
hyperspy.misc.eels.base_gos module¶
hyperspy.misc.eels.eelsdb module¶
hyperspy.misc.eels.effective_angle module¶
-
hyperspy.misc.eels.effective_angle.effective_angle(E0, E, alpha, beta)¶ Calculates the effective collection angle
Parameters: - E0 (float) – electron beam energy in keV
- E (float) – energy loss in eV
- alpha (float) – convergence angle in mrad
- beta (float) – collection angle in mrad
Returns: float
Return type: effective collection angle in mrad
Notes
Code translated to Python from Egerton (second edition) page 420
hyperspy.misc.eels.hartree_slater_gos module¶
hyperspy.misc.eels.hydrogenic_gos module¶
-
class
hyperspy.misc.eels.hydrogenic_gos.HydrogenicGOS(element_subshell)¶ Bases:
hyperspy.misc.eels.base_gos.GOSBaseComputes the K and L GOS using R. Egerton’s routines.
Parameters: element_subshell (str) – For example, ‘Ti_L3’ for the GOS of the titanium L3 subshell -
parametrize_GOS()¶ Parametrize the GOS to speed up the calculation.
-
get_qaxis_and_gos(ienergy, qmin, qmax)¶ Given the energy axis index and qmin and qmax values returns the qaxis and gos between qmin and qmax using linear interpolation to include qmin and qmax in the range.
-
energy_axis¶ array – The tabulated energy axis
-
qaxis¶ array – The tabulated qaxis
-
energy_onset¶ float – The energy onset for the given element subshell as obtained from iternal tables.
Notes
The Hydrogeninc GOS are calculated using R. Egerton’s SIGMAK3 and SIGMAL3 routines that has been translated from Matlab to Python by I. Iyengar. See http://www.tem-eels.ca/ for the original code.
-
gosfuncK(E, qa02)¶
-
gosfuncL(E, qa02)¶
-
integrateq(onset_energy, angle, E0)¶
-