fitting.dispgaussians¶
-
fitting.
dispgaussians
(x, *p)¶ Sum over a variable number of dispersive Gaussians without baseline.
Parameters: - x (array) – x-values.
- 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
dispgauss()
for the mathematical formulation.