Equinoctial Elements¶
Functions for converting between Keplerian and equinoctial orbital elements. Equinoctial elements [a, h, k, p, q, l] are free of the zero-eccentricity singularity of the classical elements (where \(\Omega\) and \(\omega\) become ill-defined), which makes them convenient for averaging and numerical differencing.
The formulation is a two-chart one selected by the retrograde factor fr, which must be either +1 or -1 (other values, including 0, are invalid): fr = +1 is regular for direct orbits and remains well-defined up to (but not including) \(i = 180°\), while fr = -1 is regular for retrograde orbits near \(i = 180°\) and is singular at \(i = 0°\). Use fr = +1 unless working with near-retrograde orbits.
Note
For conceptual background, see Mean Elements in the User Guide, where equinoctial elements are used internally by numerical windowed averaging.
state_koe_to_equinoctial builtin ¶
state_koe_to_equinoctial(koe: Union[ndarray, Sequence], angle_format: AngleFormat, fr: int = 1, axis: int = -1) -> ndarray
Convert Keplerian elements to equinoctial elements (Vallado 2-99).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
koe | ndarray or list | Keplerian | required |
angle_format | AngleFormat | Format of angular inputs/outputs. | required |
fr | int | Retrograde factor, +1 for direct orbits, -1 for near-retrograde. Defaults to 1. | 1 |
axis | int | The axis of | -1 |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Equinoctial |
state_equinoctial_to_koe builtin ¶
state_equinoctial_to_koe(eqn: Union[ndarray, Sequence], angle_format: AngleFormat, fr: int = 1, axis: int = -1) -> ndarray
Convert equinoctial elements to Keplerian elements (Vallado 2-99).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
eqn | ndarray or list | Equinoctial | required |
angle_format | AngleFormat | Format of angular input/outputs. | required |
fr | int | Retrograde factor matching the forward conversion. Defaults to 1. | 1 |
axis | int | The axis of | -1 |
Returns:
| Type | Description |
|---|---|
ndarray | numpy.ndarray: Keplerian |
See Also¶
- Keplerian Elements - Classical orbital elements and anomaly conversions
- Mean Elements - Mean-osculating conversions built on this representation