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