y = func.pvoigt(x,p)
y = func.pvoigt(x,p) calculates the values for a pseudovoigt
function evaluated at and with parameters defined in
Gaussian and Lorentzian functions are normalized to amplitude 1 before
- Coordinate vector where the function will be evaluated.
- Parameter vector with the following elements
p=[A x0 wG wL mu]where:
Aamplitude of the signal,
x0center of the peak,
wGFWHM value of the Gaussian, has to be positive,
wLFWHM value of the Lorentzian, has to be positive,
mu=1for pure Lorenzian,
mu=0for pure Gaussian, the value has to be within the range.