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.

  • 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.


Surface density.

Return type:

float or Quantity


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