Skip to main content

Open dataset, models, and benchmark for detecting orbital maneuvers from public TLE history.

Project description

maneuver-detect

CI Docs PyPI Python versions License: MIT

Open dataset, models, and benchmark for detecting orbital maneuvers from public TLE history.

maneuver-detect takes a satellite's public TLE history and returns a DataFrame of detected maneuvers — each with a detection epoch, a calibrated confidence, a maneuver type (in-track / cross-track / radial), and a Δv estimate. It ships a curated, reconstructable, labelled dataset built from public catalog data and operator maneuver announcements; a classical reference detector, learned (BiLSTM and transformer) baselines, and a foundation-model (Chronos forecast-residual) baseline distributed through the Hugging Face Hub, all sharing a vis-viva / Gauss-variational Δv inversion; and a frozen, leak-free benchmark protocol — with a public leaderboard — so a new detection method can be measured against prior work on the same splits. See the changelog for released functionality.

What this is

Detecting maneuvers from public TLEs is a long-running space-situational-awareness problem, but the open ecosystem has no shared answer to it: every paper rebuilds its own dataset, cleaning pipeline, detector, and evaluation, so results are not comparable and the data is rarely published. maneuver-detect provides the missing shared piece — an open, citable dataset and a reproducible benchmark. The load-bearing engineering is the dataset and the benchmark protocol (leak-free splits, the detection-matching rule, the metric, and the physics of the Δv inversion), not the model code, which is deliberately small and standard. The classical reference detector is the baseline every learned model must beat.

Quick start

from maneuver_detect import detect, datasets

history = datasets.tle_history(norad_id=25544, start="2024-01-01")
maneuvers = detect(history, model="transformer-base")   # learned baseline, pulled from the Hub on first use
# DataFrame columns: epoch, confidence, type, delta_v_estimate, plus provenance

"classical" is the no-download default; the learned "bilstm-base" and "transformer-base" models pull their checkpoints from the Hugging Face Hub on first use (CPU-only, cached on disk).

From the command line, on a NORAD id (fetched live) or a local TLE file:

maneuver-detect detect 25544

Runnable examples live in examples/: detect_norad.py detects maneuvers for a NORAD id, and reproduce_baseline.py runs the classical detector through the benchmark scorer on a labelled series.

Dataset and benchmark

  • Dataset — a curated, labelled set spanning LEO altimetry, MEO navigation (GPS and Galileo), GEO, and IGSO (QZSS) satellites, built from public TLE history and operator maneuver announcements. The raw multi-year history comes from Space-Track, whose terms do not permit redistributing the data or analysis derived from it, so the dataset ships as a pinned, byte-deterministic reconstruction recipe plus a content-hash manifest: you rebuild it locally from your own Space-Track account with maneuver-detect dataset build, and the manifest verifies the result byte-for-byte. The authored artifacts (labels, recipe, splits, manifest) are CC-BY-4.0.
  • Classical baseline — a rule-based reference detector (time-aware Holt smoothing, a multi-element jump rule, and the vis-viva / Gauss Δv inversion) that ships in the package. It is the baseline every learned model must beat.
  • Learned baselines — a BiLSTM and a ~10M-parameter transformer detector, distributed through the Hugging Face Hub and selected by name (detect(history, model="transformer-base")). Each localises maneuvers in the element series and reuses the same Δv inversion; inference is CPU-only and pulled on first use.
  • Foundation baseline — an optional forecast-residual detector built on a pretrained time-series model (Chronos), selected as model="chronos-residual" and installed via the [foundation] extra. It replaces the classical detector's hand-built quiet-dynamics prior with a learned forecast and reuses the same matching, Δv inversion, and scorer.
  • Benchmark — frozen, leak-free train / val / test splits (by satellite and time), the detection-matching rule, the per-class metric (precision/recall at a fixed false-alarm rate), and a deterministic scorer that reproduces the published numbers from a committed predictions file.

The dataset and the learned-model checkpoints are distributed through the Hugging Face Hub: detect(history, model="bilstm-base") (or "transformer-base") pulls the checkpoint on first use — CPU-only, cached on disk, nothing fetched at install time — and the dataset is downloadable with the datasets accessor (see Models and the Hub). A public leaderboard scores any method on the frozen test split with the shipped deterministic scorer and ranks it against the baselines (see the how-to-submit guide). The dataset and benchmark references document the source terms and the full protocol.

Installation

pip install maneuver-detect

The base install carries only permissive dependencies. It includes the PyTorch / Lightning modelling stack and the Hugging Face Hub / datasets libraries — the learned baselines and the Hub-distributed dataset and checkpoints build on them — so a GPU is needed only to train new baselines, never to install the package or run the classical detector. The optional time-series foundation-model baseline lives behind the [foundation] extra:

pip install "maneuver-detect[foundation]"

maneuver-detect supports Python 3.10, 3.11, and 3.12.

What this is not

  • Not a maneuver predictor. It detects maneuvers that have already happened; forecasting future maneuvers is a different problem, deliberately out of scope.
  • Not real-time or streaming. It is batch — a TLE history in, a maneuver DataFrame out.
  • Not a new propagator or orbit-determination engine. It consumes SGP4 mean elements and the small inversions the Δv estimate requires; it does not do precise propagation.
  • Not a general time-series-anomaly framework. The detectors are maneuver detectors on orbital element series, not a reusable anomaly library.
  • Not a cross-catalog correlation or object-association tool. It works one catalogued object's history at a time; it does not correlate observations across catalogs or sensors.
  • No closed or commercial data. Only publicly available TLEs and publicly released maneuver labels are used; redistribution-restricted commercial SSA products are excluded.

Documentation

Full documentation is at astro-tools.github.io/maneuver-detect — getting started, the dataset and label-source reference, the models-and-Hub reference, the benchmark protocol, the leaderboard how-to-submit guide, the output schema and Δv-inversion reference, the frozen design decisions, and the API reference.

Development

git clone https://github.com/astro-tools/maneuver-detect.git
cd maneuver-detect
uv sync --all-groups

See CONTRIBUTING.md for the workflow and local checks. The frozen design decisions live in docs/design/.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maneuver_detect-0.3.0.tar.gz (934.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maneuver_detect-0.3.0-py3-none-any.whl (232.7 kB view details)

Uploaded Python 3

File details

Details for the file maneuver_detect-0.3.0.tar.gz.

File metadata

  • Download URL: maneuver_detect-0.3.0.tar.gz
  • Upload date:
  • Size: 934.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maneuver_detect-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4c6d5cd199aa1917bd4da966e38d4bf8a04437814ae394f60d61012521f94bd5
MD5 692782c9ebe3bda06ccdde427b3d2fda
BLAKE2b-256 fa35b3b4f1be717fb27225cfc8a002c1d2c3b66f146e3b2bb6522789bc7e5ec0

See more details on using hashes here.

Provenance

The following attestation bundles were made for maneuver_detect-0.3.0.tar.gz:

Publisher: release.yml on astro-tools/maneuver-detect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file maneuver_detect-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: maneuver_detect-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 232.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maneuver_detect-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccedaa94fb82652f45985c8de47137102d10a671e25af98a6ae79c4f79149b8f
MD5 da198fdf062d528e0735671598cbc3c7
BLAKE2b-256 1e908600a9348c1d7e52856e3b200373e28b8da99c335ac3b74889cd458de53b

See more details on using hashes here.

Provenance

The following attestation bundles were made for maneuver_detect-0.3.0-py3-none-any.whl:

Publisher: release.yml on astro-tools/maneuver-detect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page