astraeus-data-saturn
v0.7.0
Published
Saturn's moon positions for the Astraeus engine: piecewise Chebyshev fits of JPL Horizons state vectors, 2010 to 2030, the main moons and the planet from 1950.
Maintainers
Readme
astraeus-data-saturn
Saturn's moon positions for the Astraeus engine: every moon JPL Horizons lists for Saturn, and Saturn itself, as piecewise Chebyshev fits about the system barycentre (geometric, ICRF, TDB), one file per body per calendar year, 2010 to 2030, except Mimas, Enceladus, Tethys, Dione, Rhea, Titan, Hyperion, Iapetus and Phoebe, and Saturn itself, which are fitted from 1950 (1950 to 2030). Each body's own years are its span in index.json (the other moons 2010 to 2030 (Cassini-era moons end where Horizons' coverage ends)); a scene whose timeline reaches outside a body's years fails once at mount with SceneError code out-of-span. The measured fit errors are in index.json.
import { mount, Scene, mimas, saturn } from "astraeus";
import { dataSource } from "astraeus-data-saturn";
mount(element, new Scene().addBody(saturn).addBody(mimas), { data: [dataSource] });The engine loads only the year files the scene's time window needs. Moons are offered only when this package is passed to mount.
Source: JPL Horizons On-Line Ephemeris System API (NASA/JPL-Caltech Solar System Dynamics), US Government work, used with credit. See NOTICE.
