galpy.potential.Potential.r2deriv

Potential.r2deriv(R, z, phi=0.0, t=0.0)[source]

Evaluate the second spherical radial derivative.

Parameters:
  • R (float or Quantity) – Cylindrical Galactocentric radius.

  • z (float or Quantity) – Vertical height.

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

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

Returns:

d2phi/dr2.

Return type:

float or Quantity

Notes

  • 2018-03-21 - Written - Webb (UofT)