fitting.dispgaussians_const

fitting.dispgaussians_const(x, a, *p)

Sum over a variable number of dispersive Gaussians on a constant background.

Parameters:
  • x (array) – x-values.
  • a (float) – Offset.
  • 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 f(x) = \sum_i G_i(x) + a.

See also

dispgaussians() for details.