Skip to main content

Crate helioxide

Crate helioxide 

Source

Re-exports§

pub use solar_time::SolarDay;
pub use spa::Observer;
pub use spa::ObserverError;
pub use spa::SolarPosition;
pub use spa::Surface;
pub use spa::SurfaceError;
pub use time::SpaDateTime;
pub use time::SpaTimeError;

Modules§

apparent
Apparent sun longitude (λ) and aberration correction (Δτ). Sections 3.6 and 3.7.
delta_t
ΔT = TT − UT1 (seconds), observed values with polynomial fallback.
equation_of_time
Sun mean longitude (M) and equation of time (E). Appendix A.1.
equatorial
Sun geocentric right ascension (α) and declination (δ). Sections 3.9 and 3.10.
geocentric
Sun geocentric longitude (Θ) and latitude (β). Section 3.3.
heliocentric
Earth heliocentric longitude (L), latitude (B) and radius vector (R). Section 3.2, equations 9 to 11, Table A4.2.
helper
Shared scalar helpers used across the SPA pipeline.
horizontal
Topocentric elevation, refraction, zenith and azimuth angles. Sections 3.14 and 3.15.
hour_angle
Observer (H) and topocentric (H') local hour angles. Sections 3.11 and 3.13.
incidence
Surface incidence angle (I). Section 3.16, equation 47.
julian
Julian Day and derived time scales. Section 3.1 plus appendix A.3.
nutation
Nutation in longitude (Δψ) and obliquity (Δε). Section 3.4.
obliquity
Mean (ε₀) and true (ε) obliquity of the ecliptic. Section 3.5.
parallax
Equatorial horizontal parallax (ξ) and topocentric equatorial coordinates (α', δ'). Section 3.12.
sidereal
Mean (ν₀) and apparent (ν) sidereal time at Greenwich. Section 3.8.
solar_time
Sun transit, sunrise and sunset for a given civil day. Appendix A.2.
spa
Orchestrator running the full SPA pipeline end to end.
time
Time inputs for the SPA pipeline.