hyperspy._components.lorentzian module

class hyperspy._components.lorentzian.Lorentzian(A=1.0, gamma=1.0, centre=0.0)

Bases: hyperspy.component.Component

Cauchy-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]

Parameter Attribute
   
a A
\gamma gamma
x_0 centre
function(x)
grad_A(x)
grad_centre(x)
grad_gamma(x)