galpy.orbit.Orbit.Ez¶
- Orbit.Ez(*args, **kwargs)[source]¶
NAME:
Ez
PURPOSE:
calculate the vertical energy
INPUT:
t - (optional) time at which to get the vertical energy (can be Quantity)
pot= Potential instance or list of such instances
vo= (Object-wide default) physical scale for velocities to use to convert (can be Quantity)
use_physical= use to override Object-wide default for using a physical scale for output (can be Quantity)
OUTPUT:
vertical energy [*input_shape,nt]
HISTORY:
2019-03-01 - Written - Bovy (UofT)