pyrfu.mms.eis_omni module#

pyrfu.mms.eis_omni.eis_omni(eis_allt, method: str = 'mean')[source]#

Calculates the omni-directional flux for all 6 telescopes.

Parameters:

eis_allt (xarray.Dataset) – Dataset of the fluxes of all 6 telescopes.

Returns:

flux_omni – Omni-directional flux for all 6 telescopes

Return type:

xarray.DataArray

Examples

>>> from pyrfu import mms

Define spacecraft index and time interval

>>> tint = ["2017-07-23T16:10:00", "2017-07-23T18:10:00"]
>>> ic = 2

Get EIS ExTOF all 6 telescopes fluxes

>>> extof_allt = mms.get_eis_allt("flux_extof_proton_srvy_l2", tint, ic)

Compute the omni-directional flux for all 6 telescopes

>>> extof_omni = mms.eis_omni(extof_allt)