Skip to main content

Solar system ephemeris files

Project description

Solar System ephemerides

A package holding solar system ephemeris files, storing positions and velocities of the Earth and Sun for a range of JPL development ephemeris versions. These can be used, for example, for calculating Doppler modulations for continuous gravitational-wave signals.

Installation

This package can be installed, along with its requirements, from PyPI via pip with:

pip install solar_system_ephemerides

It can be installed from source with:

git clone git@git.ligo.org:CW/ephemerides/solar-system-ephemerides.git
cd solar-system-ephemerides
pip install .

Usage

Once installed, to get the path to an ephemeris file, e.g., the DE405 file for Earth, within Python, you can do:

from solar_system_ephemerides import body_ephemeris_path

path = body_ephemeris_path("earth", DE405)

Ephemeris generation

The package come with a script called create_solar_system_ephemeris that can be used to generate new ephemeris files. For example, to create an ephemeris file for the Sun using the JPL DE421 spanning from 2015 to 2035, with 20 hours between each value, one would do:

create_solar_system_ephemeris --target SUN --year-start 2015 --interval 20 --num-years 20 --ephemeris DE421 --output-file sun15-35-DE421.dat.gz

PyPI version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solar_system_ephemerides-1.0.0.tar.gz (106.2 MB view hashes)

Uploaded Source

Built Distribution

solar_system_ephemerides-1.0.0-py3-none-any.whl (106.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page