Debian packaging for skyfield
Go to file
Brandon Rhodes 3c5b869131 Fix order of operations in ITRF_to_GCRS2()
Because two components of the position vector are used to finish
building the velocity vector, it was a mistake to rotate the position
vector using the M matrix until after the velocity vector has also been
built.  This increases by almost two magnitudes the agreement between
Earth satellite reported velocities and the actual difference between
their successive positions.
2020-07-16 16:31:02 -04:00
authorities Rename the “horizons/” directory to “authorities/” 2020-06-16 12:38:15 -04:00
bin Script to detect broken Sphinx cross references 2020-06-15 13:41:03 -04:00
builders Switch to keeping only one whole number in a Time 2020-05-12 10:09:52 -04:00
ci Sample script for filtering the MPCORB file 2020-07-07 21:05:24 -04:00
containers/python-2.6 Add Docker container for local test of Python 2.6 2020-05-20 11:12:25 -04:00
design Sample script for filtering the MPCORB file 2020-07-07 21:05:24 -04:00
skyfield Fix order of operations in ITRF_to_GCRS2() 2020-07-16 16:31:02 -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 Ignore temporary images and directories, too 2020-05-08 10:49:44 -04:00
.python-version After all these years, go back to requirements.txt 2019-10-10 13:53:27 -04:00
.travis.yml Add "spktype21" to dependencies needed under CI 2020-06-15 18:11:38 -04:00
CHANGELOG.rst Fix a :doc: link in documentation 2020-07-09 19:31:06 -04:00
CITATION.cff Add CITATION.cff file 2020-02-06 06:39:23 -05:00
Contrib.rst updated 2015-04-19 18:16:59 -07:00
FUNDING.yml Add a GitHub FUNDING file since folks ask about it 2020-02-02 17:44:59 -05: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 Use builtin=True more consistently for timescales 2020-06-04 05:59:32 -04:00
TODO.rst Add another TODO item, for making API friendlier 2020-07-14 15:38:40 -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
hip_main.dat.gz Symlink hip_main.dat.gz so tests always work 2019-07-21 14:19:00 -04:00
requirements.txt Preliminary fix for #387: documenting “spktype21” 2020-06-15 15:22:11 -04:00
setup.py Fix #386 by updating jplephem version requirement 2020-06-07 06:13:27 -04:00
test-code.sh Fix CI: only run pyflakes if already installed 2020-07-09 15:02:52 -04:00
test-docs.sh Use hard links during Sphinx documentation tests 2020-04-02 09:48:09 -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.

.. code-block:: python

   from skyfield.api import load

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

   ts = load.timescale(builtin=True)
   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.