# galpy.df.diskdf.oortK¶

diskdf.oortK(R, romberg=False, nsigma=None, phi=0.0)[source]

NAME:

oortK

PURPOSE:

calculate the Oort function K

INPUT:

R - radius at which to calculate K (can be Quantity)

OPTIONAL INPUT:

nsigma - number of sigma to integrate the velocities over

KEYWORDS:

romberg - if True, use a romberg integrator (default: False)

OUTPUT:

Oort K at R

HISTORY:

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?)