RCAIDE.Library.Attributes.Planets.Planet

Planet#

class Planet(*args, **kwarg)[source]#

Bases: Data

Base class for planetary bodies in RCAIDE. Provides fundamental planetary properties and gravitational calculations.

mass#

Total mass of the planetary body in kg (defaults to 0.0)

Type:

float

mean_radius#

Average radius of the planetary body in m (defaults to 0.0)

Type:

float

Notes

This class serves as the parent class for all specific planetary implementations. The default values are zero and should be overridden by child classes with specific planetary properties.

Definitions

‘Mean Radius’

The average radius of a planetary body, accounting for polar flattening and equatorial bulge

‘Mass’

The total mass of the planetary body, including all components (core, mantle, crust, atmosphere)

See also

RCAIDE.Library.Attributes.Planets.Earth

Earth-specific implementation