galpy.df.diskdf.sigma2

diskdf.sigma2(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 density.

  • 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 angle at which to calculate sigma_R^2 density.

Returns:

Sigma_R^2 at R.

Return type:

float or Quantity

Notes

  • 2010-03-XX - Written - Bovy (NYU)