pyrfu.pyrf.int_sph_dist module#

pyrfu.pyrf.int_sph_dist.int_sph_dist(vdf, velocity, phi, theta, velocity_grid, phi_grid, **kwargs)[source]#

Integrate a spherical distribution function to a line/plane.

Parameters:
  • vdf (numpy.ndarray) – Phase-space density skymap.

  • velocity (numpy.ndarray) – Velocity of the instrument bins,

  • phi (numpy.ndarray) – Azimuthal angle of the instrument bins.

  • theta (numpy.ndarray) – Elevation angle of the instrument bins.

  • velocity_grid (numpy.ndarray) – Velocity grid for interpolation.

  • phi_grid (numpy.ndarray) – Azimuthal angle grid for interpolation.

  • **kwargs – Keyword arguments.

Returns:

pst – Dictionary with the projected distribution and corresponding velocity grid information.

Return type:

dict