Scientific-grade astronomy routines
Project description
This version of PyEphem, named pyephem in the Python Package Index, is the version for the Python 2.x series. If you have gone ahead and transitioned to Python 3.0, then look for the package named ephem instead.
PyEphem provides an ephem Python package for performing high-precision astronomy computations. The underlying numeric routines are coded in C and are the same ones that drive the popular XEphem astronomy application, whose author, Elwood Charles Downey, generously gave permission for their use in PyEphem. The name ephem is short for the word ephemeris, which is the traditional term for a table giving the position of a planet, asteroid, or comet for a series of dates.
The PyEphem web site offers documentation and also links to the project bug tracker, user support forum, and source code repository.
The design of PyEphem emphasizes convenience and ease of use. Both celestial bodies and the observer’s location on Earth are represented by Python objects, while dates and angles automatically print themselves in standard astronomical formats:
>>> import ephem >>> mars = ephem.Mars() >>> mars.compute('2008/1/1') >>> print mars.ra, mars.dec 5:59:27.35 26:56:27.4
The documentation includes both a Quick Reference and a Tutorial, which are included in text files within the module itself as well as being available on the PyEphem web site.
The features provided by PyEphem include:
Find where a planet, comet, or asteroid is in the sky.
High-precision orbital routines are provdied for the Moon, Sun, planets, and the major planet moons.
The user can supply the orbital elements of a comet, asteroid, or Earth-orbiting satellite, and have its location computed.
The positions of 94 bright stars come built-in, and the user can create further fixed objects as needed for their calculations.
Determine where in the sky an object appears for a particular observer.
The user can supply the longitude, latitude, and altitude of the location from which they will be observing.
For convenience, a small database of longitudes and latitudes for 122 world cities is included.
For specified weather conditions (temperature and pressure), PyEphem will compensate for atmospheric refraction by adjusting the positions of bodies near the horizon.
Compute when a body will rise, transit overhead, and set from a particular location.
Parse and use orbital data in either the traditional XEphem file format, or the standard TLE format used for tracking Earth-orbiting satellites.
Determine the dates of the equinoxes and solstices.
Compute the dates of the various phases of the Moon.
Convert from the Greenwich Time (more precisely, Ephemeris Time) which PyEphem uses to the local time of the user.
Convert positions between the equatorial, ecliptic, and galactic coordinate systems.
Determine on which page of the Uranometria or the Millennium Star Atlas a particular star should appear.
Return the Julian Date corresponding to any calendar date.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pyephem-3.7.5.2.tar.gz
.
File metadata
- Download URL: pyephem-3.7.5.2.tar.gz
- Upload date:
- Size: 705.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0f33defbc1d48d196e62f71fc70e1e36095b7864eff3fb553e36dee3df20a1 |
|
MD5 | b146a080d97618ca40e4e52b9b2ee814 |
|
BLAKE2b-256 | d31caa1543e5bd5e79b3d37a7d436454469beb47eb526e84d6174444a4700f6c |
File details
Details for the file pyephem-3.7.5.2.win32-py2.7.exe
.
File metadata
- Download URL: pyephem-3.7.5.2.win32-py2.7.exe
- Upload date:
- Size: 952.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dcca34c1a6efde3a3f8bca8625403cb29e35efbb6d950cf58321d70199d6f92 |
|
MD5 | e6004882fd9e37ac4c6361e881ce7f99 |
|
BLAKE2b-256 | 33a78abe762876efe066db63fe49e5a794243feda376c01e63fde51402876dae |
File details
Details for the file pyephem-3.7.5.2.win32-py2.6.exe
.
File metadata
- Download URL: pyephem-3.7.5.2.win32-py2.6.exe
- Upload date:
- Size: 952.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01718ccf033956243626293b439d0fcfa86d143281928c93c16acde4c4ad427b |
|
MD5 | 45bededc88b4615445ef60be89f5fa4f |
|
BLAKE2b-256 | 834cbc9859d4f23ae7690dba16855b787b05531468786a41ffd35255b14afc7c |