← All packages

Time & Earth rotation

star-sidereal 0.1.2

Greenwich mean sidereal time (IAU 1982)

Public state: Released & Verified. The registry label is RELEASED. What the states mean →

Apache-2.0 Released & Verified single file

Summary

GMST and local mean sidereal time, IAU 1982 (Vallado eq. 3-47); verified against Vallado and ERFA.

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 17 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:

python -m pip install star_sidereal-0.1.2-py3-none-any.whl

In Python: import star_sidereal

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_sidereal_0_1_2,
  author  = {Cavazzini, Andrea},
  title   = {{star-sidereal}: Greenwich mean sidereal time (IAU 1982)},
  version = {0.1.2},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_sidereal/},
  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-sidereal @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_sidereal"

README · tests · evidence (GitHub)

Technical sheet

Package
star-sidereal
Import name
star_sidereal
Version
0.1.2
Licence
Apache-2.0
Python
>=3.9
Dependencies
none (standard library only)
Capability
star.time.sidereal
Maturity
Released & Verified (RELEASED)
Published commit
dc09f61d

Requirements

  • R1 gmst82_deg(jd_ut1_day, jd_ut1_frac=0.0) -> degrees in [0, 360), Vallado eq. 3-47 (Aoki et al. 1982).
  • R2 lst_deg(jd_day, jd_frac, east_longitude_deg) -> degrees in [0, 360).
  • R3 Non-finite input raises ValueError. Input is UT1 (not UTC): the caller applies DUT1.

Limits (what is not claimed)

IAU 2000/2006 (Earth rotation angle based) sidereal time, apparent sidereal time (equation of the equinoxes), UTC->UT1.

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)
  • star_sidereal.py 0.918 (2026-10-04)
Independent implementations written by others (needs 2)
ERFA/SOFA gmst82, pyorbital (own Python code), SOFA/ERFA gmst82 (C), Vallado C++ gstime via python-sgp4
Also compared with, not counted
S.T.A.R.'s own re-derivations: S.T.A.R. Vallado eq. 3-47
Result
Released & Verified

Evidence in the registry

CheckStatusRecordedWhat was observed
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 17 passed in 0.07s
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 10 passed in 0.06s
Cross-check with independent librariesVERIFIED2026-10-05star_sidereal agrees with three non-S.T.A.R. IAU 1982 implementations over 201 epochs 1950-2050
ReviewVERIFIED2026-10-04Re-execution of bench.xc-013 reproduces the committed evidence bundles
Cross-check with independent librariesVERIFIED2026-10-04XC-013: independent engines agree
BenchmarkVERIFIED2026-10-04{'AGREE': 19}
Unit testsVERIFIED2026-10-046 passed in 0.28s
ReviewVERIFIED2026-10-04Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed
Clean install from the release tagVERIFIED2026-10-04pytest outside the tree: 6 passed in 0.05s
Reference valueVERIFIED2026-10-04GMST 152.578787810 deg and LST 48.578787810 deg within 1e-7 deg; J2000 noon 280.46061837 deg (suite: 6 passed in 0.28s)
Mutation testingVERIFIED2026-10-0445/49 = 0.9184
Mutation testingVERIFIED2026-10-0436/49 = 0.7347; survivors: T^2/T^3 terms below verification resolution near J2000 (now covered by distant-epoch ERFA tests), redundant 360-deg wraps (equivalent)

Fingerprints (SHA-256)

star_sidereal-0.1.2-py3-none-any.whl4a45605938be11da62c93d3837019132267a2f9b10b1ff38136a1c27800b99a8
star_sidereal.pyadb187e78d0b9f2a7a7150f3cb385611596c71d7ce9325e7ff526dd8c94a9d3e
star_sidereal-0.1.2-source.zip5387fafddcfb1451863465f854806b2207c87bf4a5ef40be5cad19ad502859e0

results