galpy.df.diskdf.oortK¶
-
diskdf.
oortK
(R, romberg=False, nsigma=None, phi=0.0)¶ NAME:
oortKPURPOSE:
calculate the Oort function KINPUT:
R - radius at which to calculate K (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 K 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?)