Cartesian Coordinates¶
Functions for working with Cartesian state vectors and conversions.
State Conversions¶
state_koe_to_eci builtin ¶
state_koe_to_eci(x_oe: Union[ndarray, List], angle_format: AngleFormat) -> ndarray
Convert osculating orbital elements to Cartesian state.
Transforms a state vector from osculating Keplerian orbital elements to Cartesian position and velocity coordinates.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_oe | ndarray or list | Osculating orbital elements | required |
angle_format | AngleFormat | Angle format for angular elements ( | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Cartesian state |
state_eci_to_koe builtin ¶
state_eci_to_koe(x_cart: Union[ndarray, List], angle_format: AngleFormat) -> ndarray
Convert Cartesian state to osculating orbital elements.
Transforms a state vector from Cartesian position and velocity coordinates to osculating Keplerian orbital elements.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_cart | ndarray or list | Cartesian state | required |
angle_format | AngleFormat | Angle format for output angular elements ( | required |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Osculating orbital elements |