galpy.orbit.Orbit.flip¶
- Orbit.flip(inplace=False)[source]¶
Flip an orbit’s initial conditions such that the velocities are minus the original velocities.
- Parameters:
inplace (bool, optional) – 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). Default is False.
- Returns:
If inplace=False, returns a new Orbit instance that has the velocities of the current orbit flipped. If inplace=True, flips all velocities of current instance.
- Return type:
Orbit
Notes
2019-03-02 - Written - Bovy (UofT)