ChiantiPy.tools.filters.lorentz(wvl, wvl0, factor=1.0)[source] [edit on github]

Lorentz profile filter with the exception that all factors are in wavelength units rather than frequency as the lorentz profile is usually defined.


wvl : ndarray

Wavelength array

wvl0 : float64

Wavelength filter should be centered on.

factor : float64

Value of the so-called constant gamma

integrated value is unity

the FWHM is 2*gamma

.. math::

L = frac{1}{pi gamma} frac{ gamma^2}{(lambda - lambda_0)^2 + gamma^2}