Need help with python-skyfield?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

skyfielders
658 Stars 141 Forks MIT License 2.1K Commits 52 Opened issues

Description

Elegant astronomy for Python

Services available

!
?

Need anything else?

Contributors list

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

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.