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