Skip to main content

Crate stem_branch

Crate stem_branch 

Source
Expand description

Native Rust port of stem-branch’s solar ephemeris core.

Computes the Sun’s geocentric ecliptic state from the full VSOP87D Earth series plus a JPL DE441-fitted correction polynomial and IAU2000B nutation. Input is a Julian Ephemeris Day in Terrestrial Time (JDE/TT); the UTC<->TT / ΔT boundary is the caller’s responsibility.

This is a faithful translation of the TypeScript solarEclipticState; the VSOP87D and IAU2000B coefficient tables are generated from the same source by scripts/gen-rust-solar-data.mjs.

Structs§

SolarState
Geocentric solar ecliptic state at a Julian Ephemeris Day (TT).

Functions§

solar_ecliptic_state
Compute the Sun’s geocentric ecliptic state at the given Julian Ephemeris Day in Terrestrial Time.