plasma_dispersion_func_deriv

plasmapy.mathematics.plasma_dispersion_func_deriv(zeta: Union[complex, int, float, numpy.ndarray]) → Union[complex, float, numpy.ndarray]

Calculate the derivative of the plasma dispersion function.

Parameters:

zeta (complex, int, float, ndarray, or Quantity) – Argument of plasma dispersion function.

Returns:

Zprime – First derivative of plasma dispersion function.

Return type:

complex, float, or ndarray

Raises:

Notes

The derivative of the plasma dispersion function is defined as:

\[Z'(\zeta) = \pi^{-1/2} \int_{-\infty}^{+\infty} \frac{e^{-x^2}}{(x-\zeta)^2} dx\]

where the argument is a complex number [fried.conte-1961].

Examples

>>> plasma_dispersion_func_deriv(0)
(-2+0j)
>>> plasma_dispersion_func_deriv(1j)
(-0.48425568771737604+0j)
>>> plasma_dispersion_func_deriv(-1.52+0.47j)
(0.16587133149822897+0.44587978805935047j)