Cutout tools for astronomical images
Astrocut provides tools for making cutouts from sets of astronomical images with shared footprints. It is under active development.
Three main areas of functionality are included:
- Solving the specific problem of creating image cutouts from sectors of Transiting Exoplanet Survey Satellite (TESS) full-frame images.
- General fits file cutouts incuding from single images and sets of images with the shared WCS/pixel scale.
- Cutout post-processing functionality, including centering cutouts along a path (for moving targets) and combining cutouts.
Documentation is at https://astrocut.readthedocs.io.
Developer Documentation
Installation
$ git clone https://github.com/spacetelescope/astrocut.git
$ cd astrocut
$ pip install .
For active developement intall in develop mode
$ pip install -e .
Testing
Testing is now run with tox (pip install tox
). Tests can be found in astrocut/tests/
.
$ tox -e test
Tests can also be run directly with pytest:
$ pip install -e .[test]
$ pytest
Documentation
Documentation files are found in docs/
.
We now build the documentation with tox (pip install tox
):
$ tox -e build_docs
You can also build the documentation with Sphinx directly using:
$ pip install -e .[docs]
$ cd docs
$ make html
The built docs will be in docs/_build/html/
, to view them go to file:///path/to/astrocut/repo/docs/_build/html/index.html
in the browser of your choice.