galpy.orbit.Orbit.__getitem__

Orbit.__getitem__(key)[source]

Get a subset of this instance’s orbits.

Parameters:

key (slice) – The slice of the orbits to get.

Returns:

A new Orbit instance with the subset of orbits.

Return type:

Orbit

Notes

  • 2018-12-31: Written by Bovy (UofT).