InstallationΒΆ

Tensorflow 2.x FITS can be installed with pip:

pip install tf-fits

Tensorflow 2.x FITS can be installed from source. Download the latest release from the GitHub repository and extract the contents from the zip file. Or clone the repo:

git clone https://github.com/wjpearson/tensorflow_fits.git

Then go into the extracted or cloned folder and install with pip (reccomended):

pip install .

or python:

python3 setup.py install

Test the installation

If you installed from source and have pytest installed, you can run

pytest

from the root directory. Alternativly, you can run:

python -c "from tf_fits.test.test_tf_fits import runall; runall()"