pwtools.signal.gauss

pwtools.signal.gauss(x, std=1.0, norm=False)[source]

Gaussian function.

Parameters:
  • x (1d array)

  • std (float) – sigma

  • norm (bool) – Norm such that integrate(gauss(x),x=-inf,inf) = 1, i.e. normalize and return a PDF.

Return type:

array_like(x)