Celestial Bodies – ephemerista.bodies

The origin.py module.

This module provides the Origin class.

pydantic model ephemerista.bodies.Origin

The Origin model.

This class models coordinate origins which are typically celestial bodies or a barycenters.

Notes

Not all properties are defined for all available origins. Ephemerista will raise an exception if the user tries to access an undefined property.

Fields:
field name: str [Required]

The name of the origin

plot_3d_surface()

Plot the origin as a 3D surface in a plotly plot.

Return type:

Mesh3d

property equatorial_radius: float

The equatorial radius of the celestial body in km.

Type:

float

property flattening: float

Flattening factor of the origin.

Type:

float

property gravitational_parameter: float

Gravitational parameter of the origin.

Type:

float

property mean_radius: float

Mean radius of the origin in km.

Type:

float

property naif_id: int

NAID ID of the origin.

Type:

int

property polar_radius: float

Polar radius of the origin in km.

Type:

float

property radii: tuple[float, float, float]

Tri-axial ellipsoid of the origin.

Type:

tuple[float, float, float]