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.