galpy.potential.evaluateplanarR2derivs

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

Evaluate the second radial derivative of planarPotential instance(s).

Parameters:
  • Pot (planarPotential instance or a combined potential formed using addition (pot1+pot2+…)) – 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)

Returns:

The second potential derivative d2Phi/dR2(R, phi, t).

Return type:

float or Quantity

Notes

  • 2010-10-09 - Written - Bovy (IAS)

  • 2024-11-28 - Updated to use planarCompositePotential internally - Copilot