pyrfu.mms.whistler_b2e module#

pyrfu.mms.whistler_b2e.whistler_b2e(b2, freq, theta_k, b_mag, n_e)[source]#

Computes electric field power as a function of frequency for whistler waves using magnetic field power and cold plasma theory.

Parameters:
  • b2 (xarray.DataArray) – Time series of the power of whistler magnetic field in nT^2 Hz^{-1}.

  • freq (ndarray) – frequencies in Hz corresponding B2.

  • theta_k (float) – wave-normal angle of whistler waves in radians.

  • b_mag (xarray.DataArray) – Time series of the magnitude of the magnetic field in nT.

  • n_e (xarray.DataArray) – Time series of the electron number density in cm^{-3}.

Returns:

e2 – Time series of the electric field power.

Return type:

xarray.DataArray

Examples

>>> from pyrfu import mms
>>> e_power = mms.whistler_b2e(b_power, freq, theta_k, b_mag, n_e)