HorizonsMoonEphemeris
このコンテンツはまだ日本語訳がありません。
Defined in: ephemeris.rs:328
pub struct HorizonsMoonEphemerisMoon ephemeris backed by a tabulated JPL Horizons vector table with cubic Hermite interpolation.
Accuracy: depends on table sampling step. At 1-hour spacing the
interpolation error is well below 100 m over a multi-week mission
(dominated by third-body high-frequency perturbations, not cubic
truncation). See crate::horizons::HorizonsTable::interpolate for
the underlying method.
When queried outside the table’s epoch range, this ephemeris falls back
to MeeusMoonEphemeris and increments an internal counter (retrievable
via HorizonsMoonEphemeris::fallback_count). This lets callers detect
silent drift into the lower-accuracy regime without panicking.
Methods
Section titled “Methods”from_table()
Section titled “from_table()”fn from_table(table: HorizonsTable) -> Self
Wrap an already-parsed HorizonsTable.
from_file()
Section titled “from_file()”fn from_file(path: impl [AsRef<std::path::Path>](https://doc.rust-lang.org/std/convert/trait.AsRef.html)) -> [Result<Self, HorizonsError>](https://doc.rust-lang.org/std/result/enum.Result.html)
Load a Horizons CSV file and wrap it.
date_range()
Section titled “date_range()”fn date_range(&self) -> [Option<(Epoch, Epoch)>](https://doc.rust-lang.org/std/option/enum.Option.html)
First and last epochs in the underlying table.
fallback_count()
Section titled “fallback_count()”fn fallback_count(&self) -> usize
Number of times position_eci or velocity_eci fell back to Meeus
because the query epoch was outside the table range.