galpy.df.diskdf.surfacemass¶
-
diskdf.
surfacemass
(R, romberg=False, nsigma=None, relative=False)[source]¶ NAME:
surfacemassPURPOSE:
calculate the surface-mass at R by marginalizing over velocityINPUT:
R - radius at which to calculate the surfacemass density (can be Quantity)OPTIONAL INPUT:
nsigma - number of sigma to integrate the velocities overKEYWORDS:
romberg - if True, use a romberg integrator (default: False)OUTPUT:
surface mass at RHISTORY:
2010-03-XX - Written - Bovy (NYU)