fitting.gaussians_const¶
-
fitting.
gaussians_const
(x, a, *p)¶ Sum over a variable number of Gaussians on a constant background.
Parameters: - x (array) – x-values.
- a (float) – Offset.
- p (variable) –
Coefficients for Gaussians. For each Gaussian provide
- A amplitude,
- x0 center,
- dx FWHM.
Returns: Sum over Gaussians .
See also
gaussians()
for details.