galpy.orbit.Orbit.__getitem__

Orbit.__getitem__(key)[source]

NAME:

__getitem__

PURPOSE:

get a subset of this instance’s orbits

INPUT:

key - slice

OUTPUT:

For single item: Orbit instance, for multiple items: another Orbit instance

HISTORY:

2018-12-31 - Written - Bovy (UofT)