Expand description
The Faddeeva function w(z) = e^{−z²} erfc(−iz) (SciPy’s wofz) and the Voigt profile, the
convolution of a Gaussian and a Lorentzian (SciPy’s voigt_profile).
See the book entry Faddeeva, Struve, Kelvin and Hankel functions.
Functions§
- voigt_
profile - The Voigt profile (SciPy’s
voigt_profile): the density of the sum of a normal variable with standard deviationσand a Cauchy variable with half-widthγ,V(x) = Re w((x + iγ)/(σ√2)) / (σ√(2π)). Withσ = 0it is the Lorentzian, withγ = 0the Gaussian. - wofz
- The Faddeeva function
w(z) = e^{−z²} erfc(−iz)(SciPy’swofz). On the real axis it ise^{−x²} + (2i/√π) D(x)with Dawson’s integralD; just above it (0 < y ≤ ½,|x| < 9) the Taylor series inyabout that, which keeps the small real part accurate; elsewhere in the upper half plane, Weideman’s rational approximation with 40 terms for|z| < 6and Laplace’s continued fraction beyond; in the lower half plane, the reflectionw(z) = 2 e^{−z²} − w(−z). Relative accuracy about 10⁻¹⁴ in the upper half plane, for the real and imaginary parts separately.