CALLHORIZONS - a Python Interface to JPL HORIZONS
Overview
This module provides a convenient python interface to the JPL HORIZONS system by directly accessing and parsing the http website. Ephemerides can be obtained through get_ephemerides, orbital elements through get_elements. Function export2pyephem provides a convenient interface to the PyEphem module that allows for ephemerides calculations on your machine.
Installation
The easiest way is to install the module using pip:
pip install callhorizons
For other ways, see the documentation.
Documentation
The CALLHORIZONS documentation is available at http://mommermi.github.io/callhorizons/readme.html
Examples
print RA and DEC of asteroid 433 Eros from Mauna Kea for two discrete dates:
import callhorizons eros = callhorizons.query('Eros') eros.set_discreteepochs([2457446.177083, 2457446.182343]) eros.get_ephemerides(568) print eros['RA'], eros['DEC']
For more examples, see the documentation.
License
This code is published under the MIT License. Feel free to use this code and modify it to your own needs. Please note that the code is provided as is, without any warranty (see LICENSE file for details).
Copyright (c) 2016 Michael Mommert
Contact
Feel free to contact me with your suggestions and comments!
michael.mommert (at) nau.edu, latest version: v0.9, 2016-02-27
Changelog
2016-01-13: implemented function export2pyephem that exports orbital elements into a PyEphem object (requires PyEphem: http://rhodesmill.org/pyephem/)
2016-02-27: changed structure into class structure, created pip installer
Metadata
Release files for CALLHORIZONS 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| CALLHORIZONS-0.9.7.tar.gz | 264.2 kB | Without provenance | Details |
Release files / CALLHORIZONS-0.9.7.tar.gz
| Download URL | CALLHORIZONS-0.9.7.tar.gz |
|---|---|
| Size | 264.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df8eb80965b587a39361ae6306697e6f5af42398a176232e43accc3f8e0dee02
|
|
BLAKE2b-256 checksum How to use checksums |
4d32e59317868c9e572224b7da92c7076bb611b1589001e9380364e3808801aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for CALLHORIZONS 0.9.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.