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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file unhealpix-2.0.0.tar.gz.

File metadata

  • Download URL: unhealpix-2.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for unhealpix-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f7b99e51819ab7af7bd99203763b087b337da7041e72caf16364bc2f4ecb0a77
MD5 69f153c7dde314203699b3839b0797ea
BLAKE2b-256 7631097ed46f8c72066b615d0931824c1e3ca842b90eae1cbc6a72d8a855cffe

See more details on using hashes here.

File details

Details for the file unhealpix-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: unhealpix-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for unhealpix-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 61cb43494fd295f82c36c03dc55b5f737f834b09db79cca212c3ba0b541837a1
MD5 c6bbd3d1a50e0345f8236a6f1e77045d
BLAKE2b-256 a271ce667715d14537d968f1c54dcff6cd4e9342e563434d612338818edc5ae8

See more details on using hashes here.

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