fitting.gauss

fitting.gauss(x, A, x0, dx)

A single Gaussian without baseline / offset.

Parameters:
  • x (array) – x-values.
  • A (float) – Amplitude.
  • x0 (float) – Center.
  • dx (float) – FWHM.
Returns:

f(x) = A e^{-4 \ln 2 (x - x_0)^2 / \Delta x^2}.