galpy.df.diskdf.meanvR

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

NAME:

meanvR

PURPOSE:

calculate <vR> at R by marginalizing over velocity

INPUT:

R - radius at which to calculate <vR> (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:

<vR> at R

HISTORY:

2011-03-30 - Written - Bovy (NYU)