galpy.potential.Potential.zvc

Potential.zvc(R, E, Lz, phi=0.0, t=0.0)[source]

NAME:

zvc

PURPOSE:

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)

INPUT:

R - Galactocentric radius (can be Quantity)

E - Energy (can be Quantity)

Lz - Angular momentum (can be Quantity)

phi - azimuth (optional; can be Quantity)

t - time (optional; can be Quantity)

OUTPUT:

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

HISTORY:

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