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 ephemeris_path
path = 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
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
Built Distribution
Hashes for solar_system_ephemerides-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0546110d718078226930765e4e5620f838cf8caf90d8a55e2e3b33118115c306 |
|
MD5 | 4c764b6161d7b5387782af0798a85c54 |
|
BLAKE2b-256 | d8307d5c6febbcd0afbf9919017318f19286ed75012ac9baf54a86b29f08d72b |
Hashes for solar_system_ephemerides-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 374d0cc2713abf9116cfe393387210beef288769dc119ecad3dade88d770276f |
|
MD5 | cca50d424c188d6c8720c3990c25fc1c |
|
BLAKE2b-256 | 5f10ec9c36cee7772fa714bc71634f06d0f16cefd41b3fe888f7a988e5b555b5 |