astraeus-data-neptune
v0.7.0
Published
Neptune'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-neptune
Neptune's moon positions for the Astraeus engine: every moon JPL Horizons lists for Neptune, and Neptune itself, as piecewise Chebyshev fits about the system barycentre (geometric, ICRF, TDB), one file per body per calendar year, 2010 to 2030, except Triton and Nereid, and Neptune 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); 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, triton, neptune } from "astraeus";
import { dataSource } from "astraeus-data-neptune";
mount(element, new Scene().addBody(neptune).addBody(triton), { 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.
