HorizonsSample
Defined in: horizons.rs:31
pub struct HorizonsSample { pub epoch: Epoch, pub position: nalgebra::Vector3<f64>, pub velocity: nalgebra::Vector3<f64>,}One state-vector sample from a Horizons vector table.
Fields
Section titled “Fields”epoch: Epoch
Epoch (reconstructed from the JDTDB column).
Note: Horizons JDTDB is in the TDB time scale, while Epoch::from_jd
is agnostic. The difference between TDB and UTC is ≤ ~69 seconds for
modern epochs. For sub-kilometer accuracy at Moon distance, callers
should be aware of this time-scale mismatch — see README.
position
Section titled “position”position: nalgebra::Vector3<f64>
Position in ECI/J2000 [km].
velocity
Section titled “velocity”velocity: nalgebra::Vector3<f64>
Velocity in ECI/J2000 [km/s].