fitting.exp_gauss

fitting.exp_gauss(x, y0, s, x0, *p)

Sum over variable number of exponentials convoluted with a single Gaussian. Use this version for fitting kinetic data in order to take into account the instrument response function.

Parameters:
  • x (array) – x-values.
  • y0 (float) – Offset.
  • s (float) – Sigma / width of Gaussian.
  • x0 (float) – (Time) Offset along x-axis.
  • p (variable) –

    Coefficients for exponentials. For every exponential provide

    • A amplitude (can be negative),
    • dx decay constant (can be negative, which results in a growing exponential).
Returns:

Convoluted exponentials f(x).