Metadata-Version: 2.1
Name: unhealpix
Version: 2.0.0
Summary: Reproject healpix FITS images.
Home-page: https://github.com/AlecThomson/unhealpix
Author: Alec Thomson
Author-email: alec.thomson@csiro.au
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Requires-Dist: astropy
Requires-Dist: reproject


# unhealpix

Regrid a HEALPIX FITS file to target FITS image.

## Description

A simple implementation of [Astropy](http://www.astropy.org/) and [Reproject](https://reproject.readthedocs.io/) FITS handling. This script reprojects a HEALPIX projected FITS file to an image projection. Beware of any projection issues this may cause!

## Getting Started

### Dependencies
Required libraries:
* [Astropy](http://www.astropy.org/)
* [Reproject](https://reproject.readthedocs.io/)

### Installing

* Simply clone to wherever you'd prefer

### Executing program
Example usage:
```
python unhealpix.py healpix.fits target.fits output.fits
```
Output will be a FITS file with the shape of `target.fits`

## Notes

Currently the output is forced to be an image (NAXIS = 2). Modifcations will need to be made to handle FITS cubes (e.g. NAXIS = 3). In addition, the output header is rather minimal, so refer to the original file's header for full details.


