← All packages

Orbits & astrodynamics

star-orbit 0.2.2

Numerical orbit propagation (Cowell, fixed-step RK4) with two-body + J2 gravity, linked to star_timescales

Public state: Beta. The registry label is VERIFIED. What the states mean →

Apache-2.0 Beta

Summary

Cowell numerical orbit propagation (fixed-step RK4) with two-body + J2 gravity, federated with star-timescales for epochs.

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 40 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026. 1 test skipped there: it needs something not available in a browser (an outside reference program or an extra not yet published). A browser has no threads, so the time limits of its contract tests are not checked there; their results are.

Use it on your computer

No account and no GitHub needed. Download, then install with one command:

Download also: star-timescales (install them together).

python -m pip install star_timescales-0.2.0-py3-none-any.whl star_orbit-0.2.2-py3-none-any.whl

In Python: import star_orbit

Get started →

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_orbit_0_2_2,
  author  = {Cavazzini, Andrea},
  title   = {{star-orbit}: Numerical orbit propagation (Cowell, fixed-step RK4) with two-body + J2 gravity, linked to star_timescales},
  version = {0.2.2},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_orbit/},
  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-timescales @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109" "star-orbit @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_orbit"

README · tests · evidence (GitHub)

Technical sheet

Package
star-orbit
Import name
star_orbit
Version
0.2.2
Licence
Apache-2.0
Python
>=3.9
Dependencies
star-timescales
Capability
star.orbit.propagation
Maturity
Beta (VERIFIED)
Published commit
dc09f61d

Requirements

  • R1 propagate_orbit(OrbitState, duration_sec, step_sec, include_j2=True, ...) -> list[OrbitState], SI units (m, s, m/s), mu = 3.986004418e14 m^3/s^2, Re = 6378137 m, J2 = 1.08262668e-3 (WGS-84 / EGM96).
  • R2 Requesting a force that is not available (drag/SRP without star-weather) raises RuntimeError; a force is never silently dropped.

Limits (what is not claimed)

Drag/SRP in the released package, higher-order geopotential, third bodies, published reference trajectory comparison, any operational or flight use.

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/hapsira J2_perturbation + Cowell, SciPy Dormand-Prince 8(5,3)
Also compared with, not counted
S.T.A.R.'s own re-derivations: S.T.A.R. Cowell fixed-step RK4
Result
Beta

Missing: no mutation measure yet

Evidence in the registry

CheckStatusRecordedWhat was observed
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 40 passed, 1 skipped in 0.44s
Mutation testingPARTIAL2026-10-04375/399 = 0.94
Mutation testingPARTIAL2026-10-04160/250 = 0.64
ReviewVERIFIED2026-10-03Re-execution of bench.xc-008 reproduces the committed evidence bundles
Cross-check with independent librariesVERIFIED2026-10-03Cowell J2 orbit propagation across star_orbit and scipy DOP853 agree to < 0.02 m over 1 full orbit
Unit testsVERIFIED2026-10-036/6
ReviewVERIFIED2026-10-03Requirements R1-R2, documented API, SI units, WGS-84/EGM96 constants, declared dependency, no IO
ReviewVERIFIED2026-10-03A requested but unavailable force raises instead of being dropped
BenchmarkVERIFIED2026-10-03{'relative_error': 0.0028, 'delta_omega_measured_rad': -0.061214, 'delta_omega_theory_rad': -0.061386}
Reference valueVERIFIED2026-10-03{'relative_error': 0.0028, 'unit_tests_passing': 6}
Clean install from the release tagFAILED2026-10-03energy_rel_error < 1e-7, J2 nodal precession error = 0.28%, 6/6 tests pass

Fingerprints (SHA-256)

star_orbit-0.2.2-py3-none-any.whlef98a4e44c6d0249bda2c68dbd7a85f0bbb4bb1a892bac0a1f16da790fa14c05
star_orbit-0.2.2-source.zipd715b1ee14cf0d63de4ecd0233eb618d1714af8eca801d297d21fc2f6135b724

results