python-skyfield

by skyfielders

skyfielders / python-skyfield

Elegant astronomy for Python

570 Stars 125 Forks Last release: Not found MIT License 1.8K Commits 44 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

====================================

Welcome to the Skyfield Repository

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.

.. code-block:: python

from skyfield.api import load

planets = load('de421.bsp') earth, mars = planets['earth'], planets['mars']

ts = load.timescale() t = ts.now() position = earth.at(t).observe(mars) ra, dec, distance = position.radec()

print(ra) print(dec) print(distance)

The result:

::

10h 47m 56.24s +09deg 03' 23.1" 2.33251 au

Skyfield’s only binary dependency is NumPy. Once that is available, Skyfield can usually be installed with::

pip install skyfield

Here are the essential project links:

  • Home page and documentation
    
    _.
  • Installing Skyfield
    
    _.
  • Contributing to Skyfield
    
    _.
  • Skyfield package 
    _ on the Python Package Index.
  • Issue tracker
    
    _ on GitHub.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.