def voigt(x, a): """ Real part of Faddeeva function, where w(z) = exp(-z^2) erfc(jz) """ z = x + 1j*a return wofz(z).real