← All packages

Geodesy & maps

star-topo 0.1.0

Look angles from a ground site

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

Apache-2.0 Released & Verified single file

Summary

ECEF to/from local East-North-Up and azimuth/elevation/range at a WGS-84 site: the geometry of ground-station visibility. Every function returns three finite floats or raises ValueError.

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 41 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_topo-0.1.0-py3-none-any.whl

In Python: import star_topo

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_topo_0_1_0,
  author  = {Cavazzini, Andrea},
  title   = {{star-topo}: Look angles from a ground site},
  version = {0.1.0},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_topo/},
  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-topo @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_topo"

README · tests · evidence (GitHub)

Technical sheet

Package
star-topo
Import name
star_topo
Version
0.1.0
Licence
Apache-2.0
Python
>=3.9
Dependencies
none (standard library only)
Capability
star.geodesy.topocentric
Maturity
Released & Verified (RELEASED)
Published commit
dc09f61d

Requirements

  • R1 ecef_to_enu / enu_to_ecef: East, North, Up in metres at a site given by geodetic latitude, longitude (deg) and ellipsoidal height (m) on WGS-84; "up" is the ellipsoid normal. Reproduces the EPSG Guidance Note 7-2 example (method 9836) to the printed millimetre.
  • R2 enu_to_aer / aer_to_enu: azimuth from North towards East in [0, 360), elevation from the horizontal plane in [-90, 90], range in metres. At the zenith or nadir the azimuth is returned as 0.0.
  • R3 ecef_to_aer / aer_to_ecef compose the two; a round trip returns the starting point and the range equals the ECEF distance between site and target.
  • R4 Every function returns three finite floats or raises ValueError: non-numeric, boolean, NaN, infinite or |value| >= 1e300 input; latitude or elevation outside [-90, 90]; longitude or azimuth outside [-360, 360]; site height at or below -b (the Earth's centre under the poles); zero or negative range; target on the site; overflow.

Limits (what is not claimed)

Geometry only: no atmospheric refraction, no light-time, no Earth rotation during signal travel, no terrain mask. The target must already be in the same Earth-fixed frame as the site.

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_topo.py 0.974 (2026-10-06)
Independent implementations written by others (needs 2)
PROJ +proj=topocentric through pyproj (C), PyGeodesy Ltp on Karney ECEF (pure Python), pymap3d ecef2enu (pure Python)
Also compared with, not counted
published values: EPSG Guidance Note 7-2 printed example (method 9836)
Result
Released & Verified

Evidence in the registry

CheckStatusRecordedWhat was observed
Clean install from the release tagVERIFIED2026-10-06pytest outside the tree: 41 passed in 0.24s
Unit testsVERIFIED2026-10-0641 passed in 0.39s
ReviewVERIFIED2026-10-06Requirements, interface, units, data provenance, dependency surface and failure behaviour reviewed
ReviewVERIFIED2026-10-06Re-running the cross-check gives a byte-identical evidence file
Reference valueVERIFIED2026-10-06forward within 3.1e-4 m of the printed values (printed to 1 mm), reverse and origin ECEF within 1 mm (suite: 41 passed in 0.39s)
Mutation testingVERIFIED2026-10-06114/117 = 0.9744
Cross-check with independent librariesVERIFIED2026-10-06star_topo agrees with three independent libraries on site/target pairs over the whole globe
BenchmarkVERIFIED2026-10-061 m: pygeodesy 3.0e-09 m, pymap3d 1.9e-09 m, pyproj 2.2e-16 m; 1 km: pygeodesy 4.0e-09 m, pymap3d 1.9e-09 m, pyproj 2.3e-13 m; 400 km: pygeodesy 3.4e-09 m, pymap3d 1.9e-09 m, pyproj 5.8e-11 m; 40000 km: pygeodesy 1.8e-08 m, pymap3d 7.5e-09 m, pyproj 1.5e-08 m; 401 cases

Fingerprints (SHA-256)

star_topo-0.1.0-py3-none-any.whl856f372a906de75dd39c49467effde8c0645b82f55f98b122be25ced10531df2
star_topo.pybe903fb27e97c2d5af06ab735e80b304d7065ef77237584e1fddcb667ebdc6b3
star_topo-0.1.0-source.zip37441eec1aa767d528209cd254e432124320d5328db45f0630c36d92def8673c

results