# galpy.orbit.Orbit.E¶

Orbit.E(*args, **kwargs)[source]

NAME:

E

PURPOSE:

calculate the energy

INPUT:

t - (optional) time at which to get the 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

OUTPUT:

energy [*input_shape,nt]

HISTORY:

2019-03-01 - Written - Bovy (UofT)