Previous topic

scipy.special.erfcinv

Next topic

scipy.special.dawsn

scipy.special.wofz

scipy.special.wofz(z) = <ufunc 'wofz'>

Faddeeva function

Returns the value of the Faddeeva function for complex argument:

exp(-z**2) * erfc(-i*z)

See also

dawsn, erf, erfc, erfcx, erfi

References

[R533]Steven G. Johnson, Faddeeva W function implementation. http://ab-initio.mit.edu/Faddeeva

Examples

>>> from scipy import special
>>> import matplotlib.pyplot as plt
>>> x = np.linspace(-3, 3)
>>> plt.plot(x, special.wofz(x))
>>> plt.xlabel('$x$')
>>> plt.ylabel('$wofz(x)$')
>>> plt.show()

(Source code)

../_images/scipy-special-wofz-1.png