pyrfu.pyrf.poynting_flux module#
- pyrfu.pyrf.poynting_flux.poynting_flux(e_xyz, b_xyz, b_hat)[source]#
Estimates Poynting flux at electric field sampling as
\[S = \frac{E \times B}{\mu_0}\]if b0 is given project the Poynting flux along b0
- Parameters:
e_xyz (xarray.DataArray) – Time series of the electric field.
b_xyz (xarray.DataArray) – Time series of the magnetic field.
b_hat (xarray.DataArray, Optional) – Time series of the direction to project the Pointing flux.
- Returns:
s (xarray.DataArray) – Time series of the Pointing flux.
s_z (xarray.DataArray) – Time series of the projection of the Pointing flux (only if b0).
int_s (xarray.DataArray) – Time series of the time integral of the Pointing flux (if b0 integral along b0).