Skip to main content

Reproject healpix FITS images.

Project description

unhealpix

Regrid a HEALPIX FITS file to target FITS image.

Description

A simple implementation of Astropy and Reproject 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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unhealpix-2.0.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

unhealpix-2.0.0-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page