Astro. Orbit
(ex_astro v0.3.0)
View Source
Work with SPICE osculating orbital elements.
Distances are expressed in kilometers, angles in radians, and epochs in
Ephemeris Time (ET) seconds past J2000. The elements describe an
instantaneous conic at their epoch rather than a long-term perturbation
model.
The struct fields follow the element order used by SPICE's
oscelt_c:
periapsis radius, eccentricity, inclination, longitude of the ascending node,
argument of periapsis, mean anomaly at epoch, epoch, and gravitational
parameter.
Summary
Functions
Return the apoapsis radius in kilometers.
Solve Kepler's equation for the eccentric anomaly of an elliptic orbit.
Return the eccentric anomaly at an epoch.
Build an orbit from the eight elements returned by Astro.Ephemeris.oscelt/3.
Derive osculating elements from a Cartesian state vector.
Return the normalized mean anomaly at an epoch.
Return the mean motion in radians per second.
Look up a target's state and derive its osculating orbit around an observer.
Return the periapsis radius in kilometers.
Return the perifocal basis vectors in the elements' reference frame.
Return the orbital period in seconds.
Return the semi-major axis in kilometers.
Propagate an orbit to an epoch and return its Cartesian state vector.
Return the orbit's elements in the order expected by Astro.Ephemeris.conics/2.
Convert eccentric anomaly to true anomaly for an elliptic orbit.
Return the true anomaly at an epoch.
Types
Functions
Return the apoapsis radius in kilometers.
Solve Kepler's equation for the eccentric anomaly of an elliptic orbit.
Return the eccentric anomaly at an epoch.
Build an orbit from the eight elements returned by Astro.Ephemeris.oscelt/3.
Derive osculating elements from a Cartesian state vector.
Return the normalized mean anomaly at an epoch.
Return the mean motion in radians per second.
Look up a target's state and derive its osculating orbit around an observer.
The default frame is "J2000" and the default aberration correction is
"NONE". Pass :mu to override the observer's gravitational parameter;
otherwise it is read from the loaded kernels with Astro.Support.gm/1.
Return the periapsis radius in kilometers.
Return the perifocal basis vectors in the elements' reference frame.
The tuple contains the unit vectors toward periapsis, 90 degrees ahead in the orbital plane, and normal to the orbital plane.
Return the orbital period in seconds.
Return the semi-major axis in kilometers.
Hyperbolic orbits use the standard negative semi-major axis convention.
Propagate an orbit to an epoch and return its Cartesian state vector.
Return the orbit's elements in the order expected by Astro.Ephemeris.conics/2.
Convert eccentric anomaly to true anomaly for an elliptic orbit.
Return the true anomaly at an epoch.