pyrfu.mms.eis_combine_proton_skymap module#

pyrfu.mms.eis_combine_proton_skymap.eis_combine_proton_skymap(phxtof_allt, extof_allt, en_chan: list | None = None, to_psd: bool = True)[source]#

Combines ExTOF and PHxTOF proton energy spectra and generate proton skymap distribution.

Parameters:
  • phxtof_allt (xarray.Dataset) – Dataset containing the PHxTOF energy spectrum of the 6 telescopes.

  • extof_allt (xarray.Dataset) – Dataset containing the ExTOF energy spectrum of the 6 telescopes.

  • en_chan (array_like, Optional) – Energy channels to use. Default use all energy channels.

  • to_psd (bool, Optional) – Flag to convert differential particle flux to phase space density.

Returns:

eis_skymap – EIS skymap distribution

Return type:

xarray.Dataset