ROE Transformations¶
Transformations between Keplerian Orbital Elements (KOE/oe) and Relative Orbital Elements (ROE/roe).
Note
For conceptual explanations of the transformation, see ROE Transformations.
state_oe_to_roe builtin ¶
state_oe_to_roe(oe_chief: Union[ndarray, Sequence], oe_deputy: Union[ndarray, Sequence], angle_format: AngleFormat, axis: int = -1) -> ndarray
Converts chief and deputy satellite orbital elements (OE) to quasi-nonsingular relative orbital elements (ROE).
The ROE formulation provides a mean description of relative motion that is nonsingular for circular and near-circular orbits. The ROE vector contains: - da: Relative semi-major axis (dimensionless) - dλ: Relative mean longitude (degrees or radians) - dex: x-component of relative eccentricity vector (dimensionless) - dey: y-component of relative eccentricity vector (dimensionless) - dix: x-component of relative inclination vector (degrees or radians) - diy: y-component of relative inclination vector (degrees or radians)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
oe_chief | ndarray or list | Chief satellite orbital elements [a, e, i, Ω, ω, M] shape (6,), or a batch of vectors with the 6 components along | required |
oe_deputy | ndarray or list | Deputy satellite orbital elements [a, e, i, Ω, ω, M] shape (6,), or a batch of vectors with the 6 components along | required |
angle_format | AngleFormat | Format of angular elements (DEGREES or RADIANS) | required |
axis | int | The axis along which the 6 components of a single vector lie; the remaining axes enumerate the batch. For a batch of shape (n, 6) the components lie along the last axis, so the default | -1 |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Relative orbital elements [da, dλ, dex, dey, dix, diy] shape (6,), or the layout of the batched argument for batched input. |
Example
state_roe_to_oe builtin ¶
state_roe_to_oe(oe_chief: Union[ndarray, Sequence], roe: Union[ndarray, Sequence], angle_format: AngleFormat, axis: int = -1) -> ndarray
Converts chief satellite orbital elements (OE) and quasi-nonsingular relative orbital elements (ROE) to deputy satellite orbital elements.
This is the inverse transformation of state_oe_to_roe, converting from ROE representation back to classical orbital elements for the deputy satellite.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
oe_chief | ndarray or list | Chief satellite orbital elements [a, e, i, Ω, ω, M] shape (6,), or a batch of vectors with the 6 components along | required |
roe | ndarray or list | Relative orbital elements [da, dλ, dex, dey, dix, diy] shape (6,), or a batch of vectors with the 6 components along | required |
angle_format | AngleFormat | Format of angular elements (DEGREES or RADIANS) | required |
axis | int | The axis along which the 6 components of a single vector lie; the remaining axes enumerate the batch. For a batch of shape (n, 6) the components lie along the last axis, so the default | -1 |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Deputy satellite orbital elements [a, e, i, Ω, ω, M] shape (6,), or the layout of the batched argument for batched input. |