Skip to content

Orbit Enumerations

Enumerations for specifying orbit representation types and reference frames.

OrbitRepresentation

OrbitRepresentation

OrbitRepresentation()

Orbital state representation format.

Specifies how orbital states are represented in the trajectory.

Initialize instance.

CARTESIAN class-attribute

CARTESIAN: Any = OrbitRepresentation(Cartesian)

Orbital state representation format.

Specifies how orbital states are represented in the trajectory.

KEPLERIAN class-attribute

KEPLERIAN: Any = OrbitRepresentation(Keplerian)

Orbital state representation format.

Specifies how orbital states are represented in the trajectory.

Specifies the type of orbital elements being used.


OrbitFrame

OrbitFrame

OrbitFrame()

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

Initialize instance.

ECEF class-attribute

ECEF: Any = OrbitFrame(Earth-Centered Earth-Fixed)

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

ECI class-attribute

ECI: Any = OrbitFrame(Earth-Centered Inertial)

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

EME2000 class-attribute

EME2000: Any = OrbitFrame(Earth Mean Equator and Equinox of J2000.0)

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

GCRF class-attribute

GCRF: Any = OrbitFrame(Geocentric Celestial Reference Frame)

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

ITRF class-attribute

ITRF: Any = OrbitFrame(International Terrestrial Reference Frame)

Reference frame for orbital trajectory representation.

Specifies the coordinate reference frame for position and velocity states.

name method descriptor

name() -> str

Get the full name of the reference frame.

Returns:

Name Type Description
str str

Human-readable frame name


InterpolationMethod

InterpolationMethod

InterpolationMethod()

Python bindings for trajectory traits and orbital trajectory. Interpolation method for trajectory state estimation.

Specifies the algorithm used to estimate states at epochs between discrete trajectory points.

Initialize instance.

HERMITE_CUBIC class-attribute

HERMITE_CUBIC: Any = InterpolationMethod.HERMITE_CUBIC

Python bindings for trajectory traits and orbital trajectory. Interpolation method for trajectory state estimation.

Specifies the algorithm used to estimate states at epochs between discrete trajectory points.

HERMITE_QUINTIC class-attribute

HERMITE_QUINTIC: Any = InterpolationMethod.HERMITE_QUINTIC

Python bindings for trajectory traits and orbital trajectory. Interpolation method for trajectory state estimation.

Specifies the algorithm used to estimate states at epochs between discrete trajectory points.

LINEAR class-attribute

LINEAR: Any = InterpolationMethod.LINEAR

Python bindings for trajectory traits and orbital trajectory. Interpolation method for trajectory state estimation.

Specifies the algorithm used to estimate states at epochs between discrete trajectory points.

degree property

degree: int

Get the polynomial degree for Lagrange interpolation.

Returns:

Type Description
int

int | None: The degree if this is a Lagrange method, None otherwise

min_points_required property

min_points_required: int

Get the minimum number of data points required for this interpolation method.

Returns:

Name Type Description
int int

Minimum number of points required

lagrange staticmethod

lagrange(degree: int) -> InterpolationMethod

Create a Lagrange polynomial interpolation method.

Lagrange interpolation requires degree + 1 data points. Higher degrees provide more accuracy but can oscillate (Runge's phenomenon) for poorly distributed points.

Parameters:

Name Type Description Default
degree int

Polynomial degree for Lagrange interpolation (must be >= 1)

required

Returns:

Name Type Description
InterpolationMethod InterpolationMethod

Lagrange interpolation method with specified degree

Raises:

Type Description
ValueError

If degree is less than 1

Example
import brahe as bh
method = bh.InterpolationMethod.lagrange(3)  # Cubic Lagrange

See Also