matthewholman / assist

ASSIST is a software package for ephemeris-quality integrations of test particles.
https://assist.readthedocs.io/
GNU General Public License v3.0
24 stars 10 forks source link

Units #75

Closed hannorein closed 1 year ago

hannorein commented 1 year ago

A very small update. ASSIST will now update the REBOUND frame and the units to match what it is using. With this, one can directly import particles from horizons. For example:

t0 = 2459945.50000
sim = rebound.Simulation()
extras = assist.Extras(sim, ephem)
sim.add("99942", date="JD%.f"%t0)
sim.t = t0 - ephem.jd_ref

This requires the latest version of REBOUND to work.

Note this might not be the best time to test it as JPL Horizons seems to have some problems at the moment.

matthewholman commented 1 year ago

That's awesome!