spectrochempy.voigt
- voigt(x, ampl=1.0, pos=0.0, width=1.0, ratio=0.5, normalized=True, **kwargs)[source]
Return a Voigt 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 isFalsethis is the peak height.pos (float, optional) – Position of the peak centre.
width (float, optional) – Full width at half maximum (FWHM).
ratio (float, optional) – Ratio of Gaussian to Lorentzian character (0 = pure Lorentzian, 1 = pure Gaussian).
normalized (bool, optional) – If
True(default) the profile is normalized so that its integral is approximately ampl. IfFalsethe peak value is exactly ampl.**kwargs – Additional keyword arguments forwarded to the model evaluator.