slmsuite.misc.fitfunctions.lorentzian_jacobian
- lorentzian_jacobian(x, x0, a, c, Q)[source]
Jacobian of
lorentzian()
.- Parameters
x (numpy.ndarray) – Wavelength.
x0 (float) – Center wavelength.
a (float) – Amplitude.
c (float) – constant offset.
Q (float) – Quality factor.
- Returns
gradf – Jacobian of Lorentzian fit evaluated at all
x
.- Return type
numpy.ndarray