galpy.potential.evaluateSurfaceDensities

galpy.potential.evaluateSurfaceDensities(Pot, R, z, phi=None, t=0.0, forcepoisson=False)[source]

Evaluate the surface density for a potential or sum of potentials.

Parameters:
  • Pot (Potential or list of Potential) – Potential or list of potentials (dissipative forces in such a list are ignored).

  • R (float or Quantity) – Cylindrical Galactocentric distance.

  • z (float or Quantity) – Distance above the plane.

  • phi (float or Quantity, optional) – Azimuth (default: None).

  • t (float or Quantity, optional) – Time (default: 0.0).

  • forcepoisson (bool, optional) – If True, calculate the surface density through the Poisson equation, even if an explicit expression for the surface density exists.

Returns:

Surface density.

Return type:

float or Quantity

Notes

  • 2018-08-20 - Written - Bovy (UofT)