star-maneuver 0.2.2
Closed-form vis-viva and Hohmann orbital transfer engine
Public state: Beta. The registry label is VERIFIED. What the states mean →
Apache-2.0 Beta single file
Summary
Impulsive manoeuvre arithmetic between circular coplanar orbits and plane changes. Standard library only.
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).
Runs in the browser: all 68 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026.
Use it on your computer
No account and no GitHub needed. Download, then install with one command:
- Install file · star_maneuver-0.2.2-py3-none-any.whl 2 kB
- Single file — copy it alongside your code · star_maneuver.py 3 kB
- Source code (.zip) 15 kB
python -m pip install star_maneuver-0.2.2-py3-none-any.whlIn Python: import star_maneuver
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_star_maneuver_0_2_2,
author = {Cavazzini, Andrea},
title = {{star-maneuver}: Closed-form vis-viva and Hohmann orbital transfer engine},
version = {0.2.2},
year = {2026},
url = {https://andrea07072000.github.io/S.T.A.R.-/software/star_maneuver/},
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 "star-maneuver @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_maneuver"
Technical sheet
Requirements
- R1
vis_viva(r, a, mu);hohmann(r1, r2, mu)andbielliptic(r1, r2, rb, mu)return per-burn and total delta-v (km/s) and time of flight (s). Units: km, s, km/s, km^3/s^2 (default mu = 398600.4418, IERS Conventions 2010). - R2
plane_change(v, di)= 2 v sin(di/2);combined_dv(v1, v2, di)by the law of cosines (radians). - R3 Invalid input fails explicitly with
ValueError(non-positive radii, rb < max(r1, r2), negative speed).
Limits (what is not claimed)
Finite burns, gravity losses, non-coplanar Hohmann with optimal plane-change split, any flight qualification.
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)
- no mutation measure yet
- Independent implementations written by others (needs 2)
- Poliastro / OpenAstronomy state vectors, SymPy exact symbolic CAS
- Also compared with, not counted
- S.T.A.R.'s own re-derivations: S.T.A.R. native vis-viva / Battin 1999
- Result
- Beta
Missing: no mutation measure yet
Evidence in the registry
| Check | Status | Recorded | What was observed |
|---|---|---|---|
| Clean install from the release tag | VERIFIED | 2026-10-08 | pytest outside the tree: 68 passed in 0.22s |
| Clean install from the release tag | VERIFIED | 2026-10-05 | pytest outside the tree: 50 passed in 0.24s |
| Mutation testing | VERIFIED | 2026-10-04 | before 53/94 = 0.5638; after 82/94 = 0.8723; the 12 survivors are all in the r <= 0 guards, which are redundant with vis_viva's own guard (equivalent mutants) |
| Review | VERIFIED | 2026-10-03 | Re-execution of bench.xc-007 reproduces the committed evidence bundles |
| Cross-check with independent libraries | VERIFIED | 2026-10-03 | Hohmann transfer Delta-V across star_maneuver, hapsira, sympy agree to < 1e-5 km/s vs Curtis 2014 |
| Unit tests | VERIFIED | 2026-10-03 | 4/4 |
| Unit tests | VERIFIED | 2026-10-03 | 16/16 tests pass (4 Hohmann + 12 new); mutants killed 3/3 (plane change factor 2, missing apoapsis burn, law-of-cosines factor 2) |
| Review | VERIFIED | 2026-10-03 | Requirements R1-R3, documented functions and units, standard GM default, no dependencies and no IO |
| Review | VERIFIED | 2026-10-03 | Invalid inputs fail explicitly with ValueError |
| Clean install from the release tag | VERIFIED | 2026-10-03 | dv_total=3.892608 km/s, tof=18990.05 s, 4/4 tests pass |
| Reference value | VERIFIED | 2026-10-03 | bisection root 11.9388 (independent closed form for the rb->inf limit); R=16,30 bi-elliptic cheaper for all sampled rb; R=14 depends on rb; R=10 Hohmann always cheaper |
| Benchmark | VERIFIED | 2026-10-03 | {'cases_passed': 10, 'max_dv_error_km_s': 8.88e-16} |
| Reference value | VERIFIED | 2026-10-03 | {'dv_total': 3.8926, 'tof_s': 18990.05} |
Fingerprints (SHA-256)
| star_maneuver-0.2.2-py3-none-any.whl | d84f1d73f0d907d1a1e7df4c87822e1d3b9d302735c05ada79694d4bbd767965 |
| star_maneuver.py | c1908a47917dfdba2b61883b2d442ec547e51c6bc4986e94bb71d4ef7d8dfc83 |
| star_maneuver-0.2.2-source.zip | b38b91920137790d971aa7ca611b8801e697ba0da9780c2a9d1bd83a24ac2241 |
