Simulate a Voigt lineshape with unit height at the center.
Simulates discrete points of the continuous Voigt profile with unit height at the center. Sigma and gamma are used as the Gaussian and Lorentzian scaler parameters.
Functional Form:
f(x; x0, sigma, gamma) = Re[w(z)] / Re[(w(z0)]
Where:
z = ((x - x0) + 1j * gamma) / (sigma * sqrt(2)) z0 = (1j * gamma) / (sigma * sqrt(2)) w(z) is the complex error function of z
Parameters : | x : ndarray
x0 : float
sigma : float
gamma : float
|
---|---|
Returns : | f : ndarray
|