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]:Aintegral of the output assuming (for different multiply the amplitude with to keep the integral constant).x0peak center positions.wGFWHM of the Gaussian component.wLFWHM of the Lorentzian component.