galpy.potential.evaluatez2derivs¶
- galpy.potential.evaluatez2derivs(Pot, R, z, phi=None, t=0.0)[source]¶
Evaluate the second vertical 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 vertical derivative d2Phi/d2z of the potential.
- Return type:
float or Quantity
Notes
2012-07-25 - Written - Bovy (IAS)