galpy.potential.evaluateSurfaceDensities¶
- galpy.potential.evaluateSurfaceDensities(Pot, R, z, phi=None, t=0.0, forcepoisson=False)[source]¶
NAME:
evaluateSurfaceDensities
PURPOSE:
convenience function to evaluate a possible sum of surface densities
INPUT:
Pot - potential or list of potentials (dissipative forces in such a list are ignored)
R - cylindrical Galactocentric distance (can be Quantity)
z - distance above the plane (can be Quantity)
phi - azimuth (can be Quantity)
t - time (can be Quantity)
forcepoisson= if True, calculate the surface density through the Poisson equation, even if an explicit expression for the surface density exists
OUTPUT:
Sigma(R,z)
HISTORY:
2018-08-20 - Written - Bovy (UofT)