galpy.df.diskdf.surfacemassLOS¶
-
diskdf.
surfacemassLOS
(d, l, deg=True, target=True, romberg=False, nsigma=None, relative=None)[source]¶ NAME:
surfacemassLOSPURPOSE:
evaluate the surface mass along the LOS given l and dINPUT:
d - distance along the line of sight (can be Quantity)
l - Galactic longitude (in deg, unless deg=False; can be Quantity)
OPTIONAL INPUT:
nsigma - number of sigma to integrate the velocities overKEYWORDS:
target= if True, use target surfacemass (default)
romberg - if True, use a romberg integrator (default: False)
deg= if False, l is in radians
OUTPUT:
Sigma(d,l) x dHISTORY:
2011-03-24 - Written - Bovy (NYU)