assist-fork
A temporary fork of ASSIST to enable installing data files from PyPI
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.9%) to scientific vocabulary
Repository
A temporary fork of ASSIST to enable installing data files from PyPI
Basic Info
- Host: GitHub
- Owner: B612-Asteroid-Institute
- License: gpl-3.0
- Language: Jupyter Notebook
- Default Branch: main
- Size: 3.65 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ASSIST
ASSIST is a software package for ephemeris-quality integrations of test particles. ASSIST is an extension of the REBOUND framework and makes use of its IAS15 integrator to 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 the Marsden (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/activate
Now we can install numpy, REBOUND, and ASSIST:
pip install numpy
pip install rebound
pip install assist
To use use ASSIST, you also need to download ephemeris data files. One file for planet ephemeris and another suplementary file for asteroid ephemeris. You can do this with Python packages or by downloading files directly. Note that these are large files, almost 1GB in size.
pip install naif-de440
pip install jpl-small-bodies-de441-n16
You can initialize the ephemeris data from the packages like so:
python3
>>> import assist
>>> from naif_de440 import de440
>>> from jpl_small_bodies_de441_n16 import de441_n16
>>> ephem = assist.Ephem(de440, de441_n16)
The variables to the ephemeris files are simply path strings to the files. Alternatively, you can download these files with curl or your browser.
mkdir data
curl https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/de440.bsp -o data/de440.bsp
curl https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp -o data/sb441-n16.bsp
Now you can point assist to those files directly, like so:
python3
>>> import assist
>>> ephem = assist.Ephem("data/de440.bsp", "data/sb441-n16.bsp")
Once you've initialized the ephemeris data, you can test that assist is working by running the following commands:
>>> 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.git
To 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/bsp/de440.bsp -o assist/data/de440.bsp
curl https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp -o assist/data/sb441-n16.bsp
For 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/bsp/de441.bsp -o assist/data/de441.bsp
Next, 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
make
Now, you're ready to run the example with:
./rebound
License
ASSIST is open source, freely distributed under the GNU General Public license, version 3.
Contributors
- Matthew J. Holman, Center for Astrophysics | Harvard & Smithsonian, mholman@cfa.harvard.edu
- Arya Akmal, Montgomery College, Rockville
- Davide Farnocchia, Jet Propulsion Laboratory, California Institute of Technology
- Hanno Rein, University of Toronto, hanno@hanno-rein.de
- Matthew J. Payne, Center for Astrophysics | Harvard & Smithsonian
- Robert Weryk, University of Western Ontario
- Dan Tamayo, Harvey Mudd College, dtamayo@hmc.edu
- David M. Hernandez, Center for Astrophysics | Harvard & Smithsonian
- Alec Koumjian, Asteroid Institute | B612 Foundation, alec@b612foundation.org
Owner
- Name: Asteroid Institute
- Login: B612-Asteroid-Institute
- Kind: organization
- Website: www.b612foundation.org
- Twitter: b612foundation
- Repositories: 10
- Profile: https://github.com/B612-Asteroid-Institute
B612’s Asteroid Institute brings together scientists+engineers to develop tools to understand & map our solar system + protect our planet from asteroid impacts
Citation (CITATION.cff)
@ARTICLE{2023PSJ.....4...69H,
author = {{Holman}, Matthew J. and {Akmal}, Arya and {Farnocchia}, Davide and {Rein}, Hanno and {Payne}, Matthew J. and {Weryk}, Robert and {Tamayo}, Daniel and {Hernandez}, David M.},
title = "{ASSIST: An Ephemeris-quality Test-particle Integrator}",
journal = {\psj},
keywords = {Ephemerides, N-body simulations, Asteroid dynamics, Comet dynamics, 464, 1083, 2210, 2213, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
year = 2023,
month = apr,
volume = {4},
number = {4},
eid = {69},
pages = {69},
doi = {10.3847/PSJ/acc9a9},
archivePrefix = {arXiv},
eprint = {2303.16246},
primaryClass = {astro-ph.EP},
adsurl = {https://ui.adsabs.harvard.edu/abs/2023PSJ.....4...69H},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
GitHub Events
Total
- Push event: 3
- Create event: 2
Last Year
- Push event: 3
- Create event: 2
Dependencies
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- mkdocs-jupyter *
- mkdocs-material *
- mkdocs-simple-hooks *
- mkdocs-video *
- numpy *
- rebound >=4.0.1
- numpy *
- rebound >=4.0.1