ADCS.orbits.keplerian_orbit module¶
Fast two-body orbit propagation from osculating Keplerian elements.
- class ADCS.orbits.keplerian_orbit.KeplerianOrbit(os0, end_time=None, dt=None, fast=True, verbose=True, zonal_J=0, magnetic_model=None, environment=None)[source]¶
Bases:
OrbitAttitude-independent elliptic two-body orbit.
The initial osculating elements are held constant and mean anomaly advances at the Keplerian mean motion. For semi-major axis \(a\), eccentricity \(e\), gravitational parameter \(\mu\), and elapsed time \(t\),
\[n = \sqrt{\frac{\mu}{a^3}}, \qquad M(t) = M_0 + nt, \qquad E - e\sin E = M(t).\]- Parameters:
os0 (ADCS.orbits.orbital_state.Orbital_State) – Initial state on a bound elliptic orbit.
end_time (float or None) – Final epoch in J2000 centuries; defaults to
os0.J2000.dt (float or None) – Requested node spacing in seconds for the precomputed trajectory.
fast (bool) – Backward-compatible argument passed to
Orbit.verbose (bool) – Show a tqdm progress bar while propagating the trajectory.
zonal_J (int) – Gravity setting passed to
Orbit(not applied by this model).magnetic_model (str or None) – Optional magnetic-field model override.
environment (ADCS.environment.environment.Environment or None) – Environment used for returned orbital states.
- Raises:
TypeError – If
os0is not one orbital state.ValueError – If
os0is not bound and elliptic.