spectrochempy.lorentzianο
- lorentzian(x, ampl=1.0, pos=0.0, width=1.0, normalized=True, **kwargs)[source]ο
Return a Lorentzian 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).
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.