pyrfu.mms.hpca_calc_anodes module#

pyrfu.mms.hpca_calc_anodes.hpca_calc_anodes(inp, fov: list | None = None, method: str = 'mean')[source]#

Averages over anodes (or a given field of view) for HPCA ion data.

Parameters:
  • inp (xarray.DataArray) – Ion flux; [nt, npo16, ner63], looking direction

  • fov (list of float, Optional) – Field of view, in angles, from 0-360. Default is [0., 360.].

  • method ({"mean", "sum"}, Optional) – Method. Default is “mean”.

Returns:

out – HPCA ion flux averaged over the anodes within the selected field of view.

Return type:

xarray.DataArray