Builds a system with the Sun at rest at the origin and the eight planets on their real orbits, using the same masses and orbital elements as add_planet(). The Moon (in orbit around the Earth) and Pluto are included unless you switch them off. Every body starts at periapsis, its closest point to the body it orbits.
The result is an ordinary system, so you can add to it, remove bodies from it, or simulate it straight away.
Parameters
Name
Type
Description
Default
moon
bool
Whether to include the Moon, in orbit around the Earth. Default True.
True
pluto
bool
Whether to include Pluto. Default True.
True
Returns
Name
Type
Description
OrbitSystem
A system with the bodies in this order: Sun, Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, then Moon and Pluto if requested. That is 11 bodies with the defaults.
Because every body starts at periapsis, the planets are not where they were on any particular date. The orbits have the right size, shape and orientation, but this is not an ephemeris.
A time step that suits the planets is too coarse for the Moon, whose orbit takes about 27 days. Use a step of an hour or so if the Moon is included, or pass moon=False.
Examples
import pyorbiter as orbsystem = orb.load_solar_system()system