galpy.df.diskdf.oortC

diskdf.oortC(R, romberg=False, nsigma=None, phi=0.0)

NAME:

oortC

PURPOSE:

calculate the Oort function C

INPUT:

R - radius at which to calculate C (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 C 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?)