fitting.dispgaussians_line¶
-
fitting.
dispgaussians_line
(x, a, b, *p)¶ Sum over a variable number of dispersive Gaussians on a linear background.
Parameters: - x (array) – x-values.
- a (float) – y-intercept.
- b (float) – Slope.
- p (variable) –
Coefficients for dispersive Gaussians. For each Gaussian provide
- A amplitude of real part,
- B amplitude of dispersive part,
- x0 center,
- dx FWHM.
Returns: Sum over dispersive Gaussians .
See also
dispgaussians()
for details.