pyrfu.solo package#

pyrfu.solo.db_init(local_data_dir)[source]#

Setup the default path of SolO data.

Parameters:

local_data_dir (str) – Path to the data.

pyrfu.solo.read_lfr_density(tint, data_path: str = '', tree: bool = False)[source]#

Read L3 density data from LFR

Parameters:
  • tint (list) – Time interval

  • data_path (str, Optional) – Path of MMS data. Default uses pyrfu.solo.config.json

  • tree (bool, Optional) – Flag for tree structured data repos. Default is False.

Returns:

out – Time series of the density.

Return type:

xarray.DataArray

pyrfu.solo.read_tnr(tint, sensor: int = 4, data_path: str = '', tree: bool = False)[source]#

Read L2 data from TNR

Parameters:
  • tint (list) – Time interval

  • sensor (int, Optional) –

    TNR sensor to be read:
    • 1: V1

    • 2: V2

    • 3: V3

    • 4: V1 - V2 (default)

    • 5: V2 - V3

    • 6: V3 - V1

    • 7: B

  • data_path (str, Optional) – Path of MMS data. Default uses pyrfu.solo.config.json

  • tree (bool, Optional) – Flag for tree structured data repos. Default is False.

Returns:

out – Spectrum of the measured signals.

Return type:

xarray.DataArray

Notes

The script check if there are data from the two channel and put them together.

Submodules#