galpy.df.diskdf.sigmaR2¶
- diskdf.sigmaR2(R, romberg=False, nsigma=None, phi=0.0)[source]¶
Calculate sigma_R^2 at R by marginalizing over velocity.
- Parameters:
R (float) – Radius at which to calculate sigma_R^2.
romberg (bool, optional) – If True, use a romberg integrator (default: False).
nsigma (int, optional) – Number of sigma to integrate the velocities over.
phi (float, optional) – Azimuth (default: 0.0).
- Returns:
Sigma_R^2 at R.
- Return type:
float or Quantity
Notes
2011-03-30 - Written - Bovy (NYU).