hyperspy._components.lorentzian module¶
-
class
hyperspy._components.lorentzian.Lorentzian(A=1.0, gamma=1.0, centre=0.0, module='numexpr', **kwargs)¶ Bases:
hyperspy._components.expression.ExpressionCauchy-Lorentz distribution (a.k.a. Lorentzian function) component.
![f(x)=\frac{A}{\pi}\left[\frac{\gamma}{\left(x-x_{0}\right)^{2}
+\gamma^{2}}\right]](../_images/math/1a63cca22915e360295ca310301471c96875c5f3.png)
Variable
Parameter

A

gamma

centre
- Parameters
A (float) – Height parameter, where
is the maximum of the
peak.gamma (float) – Scale parameter corresponding to the half-width-at-half-maximum of the peak, which corresponds to the interquartile spread.
centre (float) – Location of the peak maximum.
**kwargs – Extra keyword arguments are passed to the
Expressioncomponent.
For convenience the fwhm attribute can be used to get and set the full-with-half-maximum.
-
property
fwhm¶