Package: assist
ASSISTASSIST is a software package for ephemeris-quality integrations of test particles. ASSIST is an extension of theREBOUND frameworkand makes use of itsIAS15 integratorto integrate test particle trajectories in the field of the Sun, Moon, planets, and 16 massive asteroids, with the positions of the masses coming from the JPL DE441 ephemeris and its associated asteroid perturber file. The package incorporates the most significant gravitational harmonics and general relativistic corrections. ASSIST also accounts for position- and velocity-dependent non-gravitational effects according to theMarsden (1973) model. All components in the equations of motion have been verified to machine precision in a term-by-term comparison with output from JPL's small body integrator. The first order variational equations are included for all terms to support orbit fitting and covariance mapping. This framework is meant to provide an open-source package written in a modern language to enable high-precision orbital analysis and science by the small body community.Installation (Python)It's easiest to install ASSIST into a python virtual environment. If you already have a virtual environment or do not want to use one, you can skip this step. Otherwise, run the following command in an empty directory. They will setup and activate a new virtual environment in a directory.python3 -m venv venv
source venv/bin/activateNow we can install numpy, REBOUND, and ASSIST:pip install numpy
pip install rebound 
pip install assistTo use use ASSIST, you also need to download ephemeris data files. One file for planet ephemeris and another suplementary file for asteroid ephemeris. The following commands download these files with curl. You can also manually download them using your browser. Note that these are large files, almost 1GB in size.mkdir data
curl https://ssd.jpl.nasa.gov/ftp/eph/planets/Linux/de440/linux_p1550p2650.440 -o data/linux_p1550p2650.440
curl https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp -o data/sb441-n16.bspNow you can try out if assist works.python3

>>> import assist
>>> ephem = assist.Ephem("data/linux_p1550p2650.440", "data/sb441-n16.bsp")
>>> print(ephem.jd_ref)
>>> ephem.get_particle("Earth", 0)You should see the default reference Julian date (2451545.0) and the position of the Earth at that time printed on the screen.Installation (C)To install the C version of ASSIST, first clone the REBOUND and then the ASSIST repositories. In an empty directory, run:git clone https://github.com/hannorein/rebound.git
git clone https://github.com/matthewholman/assist.gitTo use use ASSIST, you also need to download ephemeris data files. One file for planet ephemeris and another suplementary file for asteroid ephemeris. The following commands download these files with curl. You can also manually download them using your browser. Note that these are large files, almost 1GB in size.curl https://ssd.jpl.nasa.gov/ftp/eph/planets/Linux/de440/linux_p1550p2650.440 -o assist/data/linux_p1550p2650.440
curl https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp -o assist/data/sb441-n16.bspFor some of the examples, you will also need the planet ephemeris file with an extended coverage. Note that this file is 2.6GB in size.curl https://ssd.jpl.nasa.gov/ftp/eph/planets/Linux/de441/linux_m13000p17000.441 -o assist/data/linux_m13000p17000.441Next, go to one of the example directories and compile the problem file. This will also trigger the installation of the REBOUND and ASSIST shared libraries.cd assist/examples/asteroid
makeNow, you're ready to run the example with:./reboundLicenseASSIST is open source, freely distributed under theGNU General Public license, version 3.ContributorsMatthew J. Holman, Center for Astrophysics | Harvard & Smithsonian,mholman@cfa.harvard.eduArya Akmal, Montgomery College, RockvilleDavide Farnocchia, Jet Propulsion Laboratory, California Institute of TechnologyHanno Rein, University of Toronto,hanno@hanno-rein.deMatthew J. Payne, Center for Astrophysics | Harvard & SmithsonianRobert Weryk, University of Western OntarioDan Tamayo, Harvey Mudd College,dtamayo@hmc.eduDavid M. Hernandez, Center for Astrophysics | Harvard & Smithsonian