fitting.lorentzians_parabola¶
-
fitting.
lorentzians_parabola
(x, a, b, c, *p)¶ Sum over variable number of Lorentzians on a quadratic background.
Parameters: - x (array) – x-values.
- a (float) – Offset.
- b (float) – Linear term.
- c (float) – Quadratic term.
- p (variable) –
Coefficients for Lorentzians. For each Lorentzian provide
- A amplitude,
- x0 center,
- dx FWHM.
Returns: Sum over Lorentzians
.