galpy.potential.evaluateR2derivs

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

Evaluate the second (cylindrical) radial derivative of a potential or sum of potentials.

Parameters:
  • Pot (Potential or list of Potential instances) – A potential or list of potentials (dissipative forces in such a list are ignored).

  • R (float or Quantity) – Cylindrical Galactocentric distance.

  • z (float or Quantity) – Distance above the plane.

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

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

Returns:

The second (cylindrical) radial derivative d2Phi/d2R of the potential.

Return type:

float or Quantity

Notes

  • 2012-07-25 - Written - Bovy (IAS)