\(\renewcommand\AA{\unicode{x212B}}\)

Gaussian

Description

A Gaussian function (also referred to as a normal distribution) is defined as:

\[\mbox{Height}*\exp \left( -0.5*\frac{(x-\mbox{PeakCentre})^2}{\mbox{Sigma}^2} \right)\]

where

  • Height - height of peak
  • PeakCentre - centre of peak
  • Sigma - Gaussian width parameter

Note that the FWHM (Full Width Half Maximum) of a Gaussian equals \(2\sqrt{2\ln 2}*\mbox{Sigma}\).

The figure below illustrate this symmetric peakshape function fitted to a TOF peak:

GaussianWithConstBackground.png

Properties (fitting parameters)

Name Default Description
Height 0.0 Height of peak
PeakCentre 0.0 Centre of peak
Sigma 0.0 Width parameter

Categories: FitFunctions | Peak

Source

C++ header: Gaussian.h (last modified: 2020-03-20)

C++ source: Gaussian.cpp (last modified: 2020-03-20)