galpy.df.diskdf.oortC¶
-
diskdf.
oortC
(R, romberg=False, nsigma=None, phi=0.0)[source]¶ NAME:
oortCPURPOSE:
calculate the Oort function CINPUT:
R - radius at which to calculate C (can be Quantity)OPTIONAL INPUT:
nsigma - number of sigma to integrate the velocities overKEYWORDS:
romberg - if True, use a romberg integrator (default: False)OUTPUT:
Oort C at RHISTORY:
2011-04-19 - Written - Bovy (NYU)BUGS:
could be made more efficient, e.g., surfacemass is calculated multiple times we know this is zero, but it is calculated anyway (bug or feature?)