PyERFA
PyERFA is the Python wrapper for the ERFA library (Essential Routines for Fundamental Astronomy), a C library containing key algorithms for astronomy, which is based on the SOFA library published by the International Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs.
The project is a split of astropy._erfa
module, developed in the
context of Astropy project, into a standalone package. It contains
the ERFA C source code as a git submodule.
Installation instructions
The package can be installed from the package directory using a simple:
$ pip install .
and similarly a Python wheel can be created with:
$ pip wheel .
Testing
For testing, one can install the packages together with its testing dependencies and then test it with:
$ pip install .[test] $ pytest
Alternatively, one can use tox
, which will set up a separate testing
environment for you, with:
$ tox -e test
License
PyERFA is licensed under a 3-clause BSD style license - see the LICENSE.rst file.