# galpy.orbit.Orbit.flip¶

Orbit.flip(inplace=False)[source]

NAME:

flip

PURPOSE:

‘flip’ an orbit’s initial conditions such that the velocities are minus the original velocities; useful for quick backward integration; returns a new Orbit instance

INPUT:

inplace= (False) if True, flip the orbit in-place, that is, without returning a new instance and also flip the velocities of the integrated orbit (if it exists)

OUTPUT:

Orbit instance that has the velocities of the current orbit flipped (inplace=False) or just flips all velocities of current instance (inplace=True)

HISTORY:

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