galpy.potential.evaluateplanarRforces

galpy.potential.evaluateplanarRforces(Pot, R, phi=None, t=0.0, v=None)[source]

Evaluate the cylindrical radial force of a (list of) planarPotential instance(s).

Parameters:
  • Pot ((list of) planarPotential instance(s)) – The potential(s) to evaluate.

  • R (float or Quantity) – Cylindrical radius.

  • phi (float or Quantity, optional) – Azimuth (default: None).

  • t (float or Quantity, optional) – Time (default: 0.0).

  • v (numpy.ndarray or Quantity, optional) – Current velocity in cylindrical coordinates (default: None). Required when including dissipative forces.

Returns:

The cylindrical radial force F_R(R, phi, t).

Return type:

float or Quantity

Notes

  • 2010-07-13 - Written - Bovy (NYU)

  • 2023-05-29 - Added velocity input for dissipative forces - Bovy (UofT)