pyrfu.mms.get_eis_allt module#

pyrfu.mms.get_eis_allt.get_eis_allt(tar_var, tint, mms_id, verbose: bool = True, data_path: str = '')[source]#

Read energy spectrum of the selected specie in the selected energy range for all telescopes.

Parameters:
  • tar_var (str) – Key of the target variable like {data_unit}_{dtype}_{specie}_{data_rate}_{data_lvl}.

  • tint (list of str) – Time interval.

  • mms_id (int or float or str) – Index of the spacecraft.

  • verbose (bool, Optional) – Set to True to follow the loading. Default is True.

  • data_path (str, Optional) – Path of MMS data.

Returns:

out – Dataset containing the energy spectrum of the 6 telescopes of the Energy Ion Spectrometer.

Return type:

xarray.Dataset

Examples

>>> from pyrfu import mms

Define time interval

>>> tint_brst = ["2017-07-23T16:54:24.000", "2017-07-23T17:00:00.000"]

Read proton energy spectrum for all EIS telescopes

>>> eis_allt = mms.get_eis_allt("Flux_extof_proton_srvy_l2", tint_brst, 2)