galpy.df.sphericaldf.vmomentdensity

sphericaldf.vmomentdensity(r, n, m, **kwargs)[source]

Calculate an arbitrary moment of the velocity distribution at r times the density.

Parameters:
  • r (float) – Spherical radius at which to calculate the moment.

  • n (float) – vr^n, where vr = v x cos eta.

  • m (float) – vt^m, where vt = v x sin eta.

Returns:

<vr^n vt^m x density> at r.

Return type:

float or Quantity

Notes

  • 2020-09-04 - Written - Bovy (UofT)