Elegant astronomy for Python
Project description
Skyfield is a pure-Python astronomy package that is compatible with both Python 2 and 3 and makes it easy to generate high precision research-grade positions for planets and Earth satellites.
from skyfield.api import load, now planets = load('de421.bsp') earth, mars = planets['earth'], planets['mars'] jd = now() position = earth.at(jd).observe(mars) ra, dec, distance = position.radec() print(ra) print(dec) print(distance)
10h 47m 56.24s +09deg 03' 23.1" 2.33251 au
Its only binary dependency is NumPy. Skyfield can usually be installed with:
pip install skyfield
Here are the essential project links:
Skyfield package on the Python Package Index.
Issue tracker on GitHub.
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
skyfield-0.6.tar.gz
(113.6 kB
view details)
File details
Details for the file skyfield-0.6.tar.gz
.
File metadata
- Download URL: skyfield-0.6.tar.gz
- Upload date:
- Size: 113.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b96c0ee90f4f5c3ddafbd0ab71d3caab25170454343e4301d3659e860bf5b1bb |
|
MD5 | 43a3cb98cb585b75d176c36bdb356671 |
|
BLAKE2b-256 | 0b4b1d5d57c7fcef6dc8188461150d954347d3a6d961df7de410ffe167fc4576 |