jaxrts.instrument_function.instrument_lorentzian
- jaxrts.instrument_function.instrument_lorentzian(x: Quantity, gamma: Quantity) Quantity[source]
Lorentzian model for the instrument function.
\[\frac{1}{\pi} \frac{1}{\gamma \left(1+\left(\frac{x}{\gamma}\right)^2\right)}\]- Parameters:
x (Quantity) – The frequency shift.
gamma (Quantity) – The scale parameter of the lorentzian.
- Returns:
Quantity – The Lorentzian function, evaluated at positions x. Normed to 1.