galpy.df.diskdf.oortB¶
- diskdf.oortB(R, romberg=False, nsigma=None, phi=0.0)[source]¶
Calculate the Oort function B.
- Parameters:
R (float) – Radius at which to calculate B (can be Quantity).
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 (in radians) at which to calculate B.
- Returns:
Oort B at R.
- Return type:
float or Quantity
Notes
2011-04-19 - Written - Bovy (NYU).