Debian packaging for skyfield
Go to file
Brandon Rhodes 9dce68618c Add script to update deltat data files 2019-07-21 07:59:58 -04:00
builders Add first-ever test of velocity 2019-02-02 20:04:01 -05:00
ci Add script to update deltat data files 2019-07-21 07:59:58 -04:00
doc/svg Added svg diagram 2015-04-19 18:01:45 -07:00
media Remove "logo.py" from the Skyfield distribution 2014-06-15 18:22:23 -04:00
skyfield Add script to update deltat data files 2019-07-21 07:59:58 -04:00
.agignore Add a simple .agignore file 2014-06-15 20:28:40 -04:00
.coveragerc Make coverage start paying attention to Skyfield 2014-06-20 19:39:30 -04:00
.gitignore Add script to update deltat data files 2019-07-21 07:59:58 -04:00
.travis.yml Add script to update deltat data files 2019-07-21 07:59:58 -04:00
CHANGELOG.rst Add docs about builtin time scale files 2019-07-20 19:48:22 -04:00
Contrib.rst updated 2015-04-19 18:16:59 -07:00
LICENSE Update license (#190) 2018-07-26 23:44:38 -04:00
MANIFEST.in Start shipping timescale files with Skyfield 2019-07-20 19:37:49 -04:00
README.rst Explain how to install without `pip` 2017-08-21 11:04:52 -04:00
TODO.rst Add a quick TODO item 2018-05-15 22:26:04 -04:00
de405.bsp Add DE405 also so CI doesn’t have to fetch it 2019-03-31 14:26:29 -04:00
de421.bsp Add DE421 to repository to eliminate CI error 2019-03-31 14:13:38 -04:00
earth-satellites.ipynb Repair code in earth-satellite notebook 2014-08-07 18:23:06 -04:00
requirements.sh Add a simple test for Hipparcos catalog dataframe 2018-08-05 17:59:47 -04:00
setup.py Start shipping timescale files with Skyfield 2019-07-20 19:37:49 -04:00
test-docs.sh Add script to update deltat data files 2019-07-21 07:59:58 -04:00
update-deltat.sh Add script to update deltat data files 2019-07-21 07:59:58 -04:00

README.rst

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

====================================
 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.

::

   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

Skyfields 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
  <http://rhodesmill.org/skyfield>`_.

* `Installing Skyfield
  <http://rhodesmill.org/skyfield/installation.html>`_.

* `Contributing to Skyfield
  <https://github.com/skyfielders/python-skyfield/blob/master/Contrib.rst>`_.

* `Skyfield package <https://pypi.python.org/pypi/skyfield>`_
  on the Python Package Index.

* `Issue tracker
  <https://github.com/brandon-rhodes/python-skyfield/issues>`_
  on GitHub.