galpy.df.diskdf.sigmaR2¶
- diskdf.sigmaR2(R, romberg=False, nsigma=None, phi=0.0)[source]¶
NAME:
sigmaR2 (duplicate of sigma2 for consistency)
PURPOSE:
calculate sigma_R^2 at R by marginalizing over velocity
INPUT:
R - radius at which to calculate sigma_R^2 (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:
sigma_R^2 at R
HISTORY:
2011-03-30 - Written - Bovy (NYU)