spectrochempy.gaussian

gaussian(x, ampl=1.0, pos=0.0, width=1.0, normalized=True, **kwargs)[source]

Return a Gaussian profile.

Parameters:
  • x (array-like or Coord) – Abscissa values.

  • ampl (float, optional) – Amplitude. When normalized is True (default) this scales the area under the curve. When normalized is False this is the peak height.

  • pos (float, optional) – Position of the peak centre.

  • width (float, optional) – Full width at half maximum (FWHM).

  • normalized (bool, optional) – If True (default) the profile is normalized so that its integral is approximately ampl. If False the peak value is exactly ampl.

  • **kwargs – Additional keyword arguments forwarded to the model evaluator.

Examples using spectrochempy.gaussian

Build synthetic concentration profiles

Build synthetic concentration profiles

Built-in line-shape helpers

Built-in line-shape helpers