pyrfu.pyrf.eb_nrf module#

pyrfu.pyrf.eb_nrf.eb_nrf(e_xyz, b_xyz, v_xyz, flag=0)[source]#

Find E and B in MP system given B and MP normal vector.

Parameters:
  • e_xyz (xarray.DataArray) – Time series of the electric field.

  • b_xyz (xarray.DataArray) – Time series of the magnetic field.

  • v_xyz (xarray.DataArray) – Normal vector.

  • flag (str or ndarray) – Method flag : * a : L is along b_xyz, N closest to v_xyz and M = NxL * b : N is along v_xyz, L is the mean direction of b_xyz in plane perpendicular to N, and M = NxL * numpy,ndarray : N is along v_xyz , L is closest to the direction specified by L_vector (e.g., maximum variance direction), M = NxL

Returns:

out – to fill.

Return type:

xarray.DataArray