fitting.lorentzians_line¶
-
fitting.
lorentzians_line
(x, a, b, *p)¶ Sum over variable number of Lorentzians on a linear background.
Parameters: - x (array) – x-values.
- a (float) – y-intercept.
- b (float) – Slope.
- p (variable) –
Coefficients for Lorentzians. For each Lorentzian provide
- A amplitude,
- x0 center,
- dx FWHM.
Returns: Sum over Lorentzians
.