galpy.potential.zvc

galpy.potential.zvc(Pot, R, E, Lz, phi=0.0, t=0.0)[source]

Calculate the zero-velocity curve: z such that Phi(R,z) + Lz/[2R^2] = E (assumes that F_z(R,z) = negative at positive z such that there is a single solution)

Parameters:
  • Pot (Potential instance or list of such instances) – Potential instance or list of such instances.

  • R (float or Quantity) – Galactocentric radius.

  • E (float or Quantity) – Energy.

  • Lz (float or Quantity) – Angular momentum.

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

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

Returns:

z such that Phi(R,z) + Lz/[2R^2] = E.

Return type:

float

Notes

  • 2020-08-20 - Written - Bovy (UofT)