Expand description
Satellite angular geometry against celestial bodies.
Computes nadir/Sun, nadir/Moon, Sun-elevation, phase, and Earth angular
radius angles from GCRS position vectors (km), returning degrees. This is
the authoritative implementation; the Elixir binding is a thin marshaling
layer over it, and the high-level compute orchestration (TLE propagation
plus ephemeris lookup) stays caller-side over the already-core kernels.
Enums§
- Angle
Error - Error while computing satellite angular geometry.
Functions§
- earth_
angular_ radius - Angular radius (degrees) of the Earth as seen from the satellite:
asin(R_earth / |sat_pos|), clamped to theasindomain. - moon_
angle - Angle (degrees) between satellite nadir and the Moon direction.
- normalize_
geodetic_ lon_ rad - Snap a geodetic longitude (radians) off the
-pibranch cut onto+pi. - phase_
angle - Sun-satellite-observer phase angle (degrees): the angle at the satellite between the Sun and the observer.
- rad_
to_ deg_ ref - Radians to degrees in the reference operation order (
rad * 180 / pi, multiply before divide), required for bit-exact parity with the prior Elixir reference rather than a single roundedRAD_TO_DEGconstant. - sun_
angle - Angle (degrees) between satellite nadir and the Sun direction.
- sun_
elevation - Sun elevation (degrees) above the satellite’s local horizontal plane.