conjunction-screen-sgp4 0.2.1
Conjunction screening of TLE catalogues with SGP4, KD-tree coarse pass and closed-form TCA refinement
Public state: Beta. The registry label is VERIFIED. What the states mean →
Apache-2.0 Beta
Summary
Screening of close approaches between objects of TLE catalogues (who to look at), NOT a collision-probability tool.
Run in your browser
Edit the code and press Run (or Ctrl+Enter). Python runs in your browser with this package's published code. The first run downloads Python once (about 12 MB).
This package needs numpy, scipy, sgp4, and the box on this page cannot load them. Use it on your computer instead.
Can run in the browser's Python once numpy, scipy, sgp4 are loaded (the box above does not load them): 49 of 50 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026. The other test starts a separate program or needs an outside reference library, which a browser cannot do. Its tests take about 10 minutes there: heavy work for a browser.
Use it on your computer
No account and no GitHub needed. Download, then install with one command:
python -m pip install conjunction_screen_sgp4-0.2.1-py3-none-any.whlnumpy, scipy, sgp4: pip downloads them from the internet during installation.
In Python: import screen
python -m screen --help
Cite it, and its bill of materials
For a paper, a report or a supplier file: the citation in two formats, and the software bill of materials (SBOM) in the two standard formats, with the fingerprint of the wheel.
@software{cavazzini_conjunction_screen_sgp4_0_2_1,
author = {Cavazzini, Andrea},
title = {{conjunction-screen-sgp4}: Conjunction screening of TLE catalogues with SGP4, KD-tree coarse pass and closed-form TCA refinement},
version = {0.2.1},
year = {2026},
url = {https://andrea07072000.github.io/S.T.A.R.-/software/conjunction_screen_sgp4/},
note = {Apache-2.0. Source: https://github.com/Andrea07072000/S.T.A.R.-, commit dc09f61d}
}
For developers
Install directly from the public repository:
python -m pip install "conjunction-screen-sgp4 @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/conjunction_screen_sgp4"
Technical sheet
Requirements
- R1
screen(tle_paths, start, hours, step, coarse_km, final_km, cross_only, refine)returns encounters (TCA in UTC, miss distance km, age of the older TLE) belowfinal_km, excluding pairs that stay close (formations). - R2 TLEs are propagated with SGP4 only (mean elements); propagation errors are reported, never replaced.
- R3
refine_tca(state_at, step): closed-form TCA from relative motion, shared by screening and tests.
Limits (what is not claimed)
Probability of collision, covariance, manoeuvre advice, accuracy below the ~1 km TLE error. Advisory screening only.
Release gate
Computed by the registry from the result files, with the same function that decides RELEASED.
- Mutation score, latest measure of each module (needs at least 0.850)
- screen.py 0.837 (2026-10-05)
- Independent implementations written by others (needs 2)
- none yet
- Also compared with, not counted
- S.T.A.R.'s own re-derivations: bionic_independent_screen.py (Bionic), screen.py (Claude)
- Result
- Beta
Missing: mutation score below the threshold: screen.py; another independent implementation written by others (now 0 of 2)
Evidence in the registry
| Check | Status | Recorded | What was observed |
|---|---|---|---|
| Mutation testing | VERIFIED | 2026-10-05 | 236/282 = 0.8369 |
| Mutation testing | VERIFIED | 2026-10-05 | 194/242 = 0.8057 |
| Mutation testing | VERIFIED | 2026-10-05 | 190/242 = 0.7895 |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 50 passed in 27.31s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 37 passed in 39.12s |
| Review | VERIFIED | 2026-10-04 | Requirements, interface, units, data provenance, dependency surface, explicit failure reporting, determinism and regression suite for conjunction-screen-sgp4 0.1.1 |
| Mutation testing | VERIFIED | 2026-10-04 | 172/242 = 0.7166 |
| Mutation testing | VERIFIED | 2026-10-04 | 160/242 = 0.668 |
| Mutation testing | VERIFIED | 2026-10-04 | 143/242 = 0.5992 |
| Mutation testing | VERIFIED | 2026-10-04 | before 107/247 = 0.4332; after 124/247 = 0.502 |
| Reference value | VERIFIED | 2026-10-04 | TCA offset 3.6e-05 s from the published TCA; miss 715.747 m (states: 715.75 m; printed MISS_DISTANCE 715 m) |
| Clean install from the release tag | VERIFIED | 2026-10-04 | pytest outside the tree: 7 passed in 17.52s |
| Clean install from the release tag | VERIFIED | 2026-10-04 | pytest outside the tree: 4 passed in 17.49s |
| Reference value | PARTIAL | 2026-10-03 | 34/55 = 61.8 % (formation excluded) |
| Unit tests | VERIFIED | 2026-10-03 | 3/3 |
| Benchmark | VERIFIED | 2026-10-03 | 189 = 189, diff 0.0 km |
| Cross-check with independent libraries | VERIFIED | 2026-10-03 | independent re-implementation agrees (24 h full catalogue) |
Fingerprints (SHA-256)
| conjunction_screen_sgp4-0.2.1-py3-none-any.whl | c329a53366b22b68d8adb1cef5f76eb1d1912d4bfd2f3fbcfc481d86d225d7a3 |
| conjunction_screen_sgp4-0.2.1-source.zip | 1e502e3268336b5faa09f3a19ba0aa0111db100d8d42d45c3d4111e11301942a |
