normalized voigt function
Syntax
y = fitfun.voigtfwhm(x,p)
Description
y = fitfun.voigtfwhm(x,p)
calculates the voigt function. The width
parameters define the FWHM value. The
integral of the function is normalized assuming that . The
conversion between different width:
- gamma parameter of the Lorentzian
- standard deviation of the Gaussian
Input Arguments
x
- Input coordinates where the function will be calculated.
p
- Parameters in a vector with elements
[A x0 wG wL]
:A
integral of the output assuming (for different multiply the amplitude with to keep the integral constant).x0
peak center positions.wG
FWHM of the Gaussian component.wL
FWHM of the Lorentzian component.