Celestial Bodies

Note

The contents of this module are placed here for organisational reasons. They should be imported from astrodynamics.bodies.

class astrodynamics.bodies.celestialbody.CelestialBody(name, ellipsoid, mu, naif_id)

Bases: represent.core.ReprHelperMixin, object

Celestial body.

Parameters:
  • name – Name of the celestial body.
  • ellipsoid (Ellipsoid) – Representative ellipsoid.
  • mu – Standard gravitational parameter [m3·s-2]
  • naif_idNAIF ID for body.
classmethod from_reference_ellipsoid(name, ellipsoid, naif_id)

Construct from a ReferenceEllipsoid, which provides mu.

Parameters:
  • name – Name of the celestial body.
  • ellipsoid (ReferenceEllipsoid) – Representative ellipsoid.
  • naif_idNAIF ID for celestial body.

Predefined Celestial Bodies

astrodynamics.bodies.celestialbody.mercury
astrodynamics.bodies.celestialbody.venus
astrodynamics.bodies.celestialbody.earth

A CelestialBody initialised from the wgs84 reference ellipsoid.

astrodynamics.bodies.celestialbody.mars
astrodynamics.bodies.celestialbody.jupiter
astrodynamics.bodies.celestialbody.saturn
astrodynamics.bodies.celestialbody.uranus
astrodynamics.bodies.celestialbody.neptune
astrodynamics.bodies.celestialbody.pluto