Skip to main content

Crate keplerian

Crate keplerian 

Source
Expand description

Domain-agnostic Keplerian dynamics on typed quantities.

§Scientific scope

This crate provides reusable two-body astrodynamics primitives: anomaly solving, Keplerian elements, Lambert transfers, and transfer invariants.

§Technical scope

Public APIs depend only on qtty and affn; no time-scale or astronomy orchestration types are introduced here.

§References

  • Battin, R. H. (1999). An Introduction to the Mathematics and Methods of Astrodynamics.
  • Vallado, D. A. (2013). Fundamentals of Astrodynamics and Applications.

§keplerian

Crates.io docs.rs CI License: AGPL-3.0-only

Domain-agnostic Keplerian dynamics in Rust: typed anomaly solvers, classical elements, two-body propagation, Lambert transfers, and transfer/search helpers built only on qtty and affn.

§Scope

This crate owns reusable central-force / two-body dynamics that do not require astronomy-specific semantics.

In scope:

  • elliptic, parabolic, and hyperbolic anomaly conversions and Kepler solves,
  • typed Keplerian elements and typed Cartesian states,
  • analytic two-body propagation under a fixed gravitational parameter,
  • Lambert boundary-value solvers,
  • transfer invariants and caller-driven Lambert search grids.

Out of scope:

  • epochs, time scales, and calendars,
  • ephemerides, bodies, observatories, or frame pipelines,
  • non-Keplerian perturbation models.

§Crate boundary

qtty   ─── typed quantities and units
affn   ─── typed geometry, frames, centers
   │
   └──> keplerian

§Features

FeatureDefaultEffect
stdyesStandard-library support via qtty.
allocnoEnables Vec-backed search grids.
serdenoSerde derives for public data types.

§License

AGPL-3.0-only.

Re-exports§

pub use eccentricity::Eccentricity;
pub use error::KeplerError;

Modules§

anomaly
Typed anomaly newtypes, solvers, and anomaly conversions.
eccentricity
Domain-semantic eccentricity scalar and conic regime classifier.
elements
Typed Keplerian orbital elements and Cartesian conversions.
error
Top-level error aggregation for crate workflows.
lambert
Typed Lambert boundary-value solving.
prelude
Convenience re-exports of the most commonly used public items.
problem
Typed central-force two-body propagation context.
state
Typed Cartesian two-body state vectors.
transfer
Analytic transfer and invariant helpers for two-body motion.