galpy.potential.Potential.rforce¶
- Potential.rforce(R, z, **kwargs)[source]¶
Evaluate the spherical radial force F_r (R,z).
- Parameters:
R (float or Quantity) – Cylindrical Galactocentric radius.
z (float or Quantity) – Vertical height.
phi (float or Quantity, optional) – Azimuth. Default is None.
t (float or Quantity, optional) – Time. Default is 0.0.
v (float or Quantity, optional) – Current velocity in cylindrical coordinates. Required when including dissipative forces. Default is None.
- Returns:
F_r – The spherical radial force F_r (R,z).
- Return type:
float or Quantity
Notes
2016-06-20 - Written - Bovy (UofT)