Installation¶
Requirements¶
Astroimtools has the following strict requirements:
Some functionality is available only if the following optional dependencies are installed:
Photutils 1.9 or later: Used in cutout tools.
Matplotlib 3.8 or later: Used in cutout tools.
reproject 0.11 or later: Used in cutout tools.
Installing the latest released version¶
The latest released (stable) version of astroimtools can be installed with pip by running:
pip install astroimtools
If you want to install astroimtools along with all of its optional dependencies, you can instead do:
pip install "astroimtools[all]"
Testing an Installed Astroimtools¶
To test your installed version of astroimtools, you can run the test suite using the pytest command. Running the test suite requires installing the pytest-astropy (0.11 or later) package.
To run the test suite, use the following command:
pytest --pyargs astroimtools
Any test failures can be reported to the astroimtools issue tracker.