cheatah
Struct

space::irbem::Epoch

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

The instant an evaluation is for.

Both spellings are carried on purpose. year/day_of_year/seconds_ut is what IRBEM's C API takes and what a CDF ephemeris stores; decimal_year is what IGRF's coefficient interpolation consumes, and deriving it per point would be arithmetic repeated ~10^5 times for one L*. They are checked against each other at construction rather than trusted (see ContextError).

Constants & variables

var double decimal_year #

The epoch as a fractional year, e.g. 2015.5 — the argument IGRF's interpolation takes.

var double seconds_ut #

Seconds of day, UT, in [0, 86401].

var std::int32_t year #

Calendar year, in [epoch_min_year, epoch_max_year].

var std::int32_t day_of_year #

Day of year, 1-based, in [1, 366].