pyrfu.mms.eis_combine_proton_pad module#

pyrfu.mms.eis_combine_proton_pad.eis_combine_proton_pad(phxtof_allt, extof_allt, vec: DataArray | None = None, energy: list | None = None, pa_width: int = 15, despin: bool = False)[source]#

Combines EPD-EIS Energy by Time Of Flight (ExTOF) and Pulse Height by Time Of Flight (PHxTOF) proton Pitch-Angle Distributions (PADs).

Parameters:
  • phxtof_allt (xarray.Dataset) – Dataset containing the energy spectrum of the 6 telescopes of the Energy Ion Spectrometer (EIS) for MCP Pulse Height by Time Of Flight (PHxTOF).

  • extof_allt (xarray.Dataset) – Dataset containing the energy spectrum of the 6 telescopes of the Energy Ion Spectrometer (EIS) for Energy by Time Of Flight (ExTOF).

  • vec (xarray.DataArray, Optional) – Axis with to compute pitch-angle. Default is X-GSE.

  • energy (array_like, Optional) – Energy range to include in the calculation. Default is [55, 800].

  • pa_width (int, Optional) – Size of the pitch angle bins, in degrees. Default is 15.

  • despin (bool, Optional) – Remove spintone. Default is False.

Returns:

out – Combined PHxTOF and ExTOF proton PADs.

Return type:

xarray.DataArray