astraeus-data-uranus
v0.7.0
Published
Uranus'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-uranus
Uranus's moon positions for the Astraeus engine: every moon JPL Horizons lists for Uranus, and Uranus itself, as piecewise Chebyshev fits about the system barycentre (geometric, ICRF, TDB), one file per body per calendar year, 2010 to 2030, except Miranda, Ariel, Umbriel, Titania and Oberon, and Uranus 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, uranus } from "astraeus";
import { dataSource } from "astraeus-data-uranus";
mount(element, new Scene().addBody(uranus), { data: [dataSource] });The engine loads only the year files the scene's time window needs. Every one of Uranus's 28 listed moons is added by its id (scene.addBody("miranda"), with this package passed to mount); listedMoons("uranus") names them. Each is a grey sphere at its JPL mean radius, and { orbit: true } draws one lap of its JPL period.
Source: JPL Horizons On-Line Ephemeris System API (NASA/JPL-Caltech Solar System Dynamics), US Government work, used with credit. See NOTICE.
