fitting.gaussians_cubic¶
-
fitting.
gaussians_cubic
(x, a, b, c, d, *p)¶ Sum over a variable number of Gaussians 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 Gaussians. For each Gaussian provide
- A amplitude,
- x0 center,
- dx FWHM.
Returns: Sum over Gaussians .
See also
gaussians()
for details.