#lox #astrodynamics #earth #simulation #astronomical #scale #orbit

lox-earth

Tools for Earth-based astrodynamics for the Lox ecosystem

9 releases

Uses new Rust 2024

0.1.0-alpha.8 Mar 4, 2025
0.1.0-alpha.7 Feb 11, 2025
0.1.0-alpha.5 Jan 25, 2025
0.1.0-alpha.4 Dec 19, 2024
0.1.0-alpha.0 Jul 19, 2024

#71 in Robotics

Download history 2/week @ 2024-12-03 28/week @ 2024-12-10 381/week @ 2024-12-17 3/week @ 2024-12-24 2/week @ 2025-01-07 105/week @ 2025-01-21 16/week @ 2025-01-28 80/week @ 2025-02-04 190/week @ 2025-02-11 24/week @ 2025-02-18 9/week @ 2025-02-25 137/week @ 2025-03-04 9/week @ 2025-03-11

184 downloads per month
Used in 2 crates (via lox-orbits)

MPL-2.0 license

1.5MB
37K SLoC

Lox – Oxidized Astrodynamics

A safe, ergonomic astrodynamics library for the modern space industry

codecov Rust Python CodSpeed Badge

A star chart of a crab constellation

Note: Lox is under active development and does not yet have a stable release. The API of all crates is subject to significant change.

Features

Lox exposes a comprehensive astrodynamics API at varying levels of granularity. The high-level interface offered by lox-space is designed specifically for mission planning and analysis, while crates like lox-time, lox-earth and lox-orbits provide tools for advanced users.

  • A fully featured space mission simulator backend.
  • Python bindings for interactive use.
  • Tools for working with time in astronomical and terrestrial time scales.
  • Define orbits as Keplerian elements or state vectors in different coordinate frames.
  • Ephemeris, size and shape data for all major celestial bodies.
  • Ingest and interpolate Earth orientation parameters with ease.
  • Extensible – bring your own time scales, transformation algorithms, data sources and more.

Crates

lox-space

The entrypoint to the Lox ecosystem, suitable for most use cases. Provides a high-level interface for mission planning and analysis. Also includes Lox's Python bindings.

lox-time

Tools for working with time in all commonly-used astronomical time scales based on a high-precision timestamp representation. Offers leap-second aware conversion from UTC to continuous time scales.

lox-bodies

Provides structs representing all major celestial bodies, conveniently categorized by a variety of traits exposing SPICE-derived data.

lox-earth

Essential algorithms for Earth-centric astrodynamics, including nutation-precession models, Earth rotation angle, CIP and CIO locations, and coordinate transformations.

lox-ephem

Parses ephemeris data from external sources such as SPICE kernels.

lox-io

Utilities for reading and writing data in various formats.

lox-math

A collection of mathematical utilities used across the Lox ecosystem.

Used by...

Ephemerista

The Ephemerista logo

A next-generation, open-source space mission simulator commissioned by the European Space Agency.

Why "Lox"?

Liquid oxygen—abbreviated LOx, LOX or Lox in the aerospace, submarine and gas industries—is the liquid form of molecular oxygen. It was used as the oxidizer in the first liquid-fueled rocket invented in 1926 by Robert H. Goddard, an application which has continued to the present. Wikipedia

Dependencies

~12–19MB
~320K SLoC