galpy.potential.Potential.surfdens¶
-
Potential.
surfdens
(R, z, phi=0.0, t=0.0, forcepoisson=False)¶ NAME:
surfdensPURPOSE:
evaluate the surface density \(\Sigma(R,z,\phi,t) = \int_{-z}^{+z} dz' \rho(R,z',\phi,t)\)INPUT:
R - Cylindrical Galactocentric radius (can be Quantity)
z - vertical height (can be Quantity)
phi - azimuth (optional; can be Quantity)
t - time (optional; can be Quantity)
KEYWORDS:
forcepoisson= if True, calculate the surface density through the Poisson equation, even if an explicit expression for the surface density existsOUTPUT:
Sigma (R,z,phi,t)HISTORY:
2018-08-19 - Written - Bovy (UofT)