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-1.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

unhealpix-1.0.3-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: unhealpix-1.0.3.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-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bc11676a2aba6a615a870315ccf4e5039e12c740090339b37c725beb757d34a1
MD5 eeddff8909cd4f32f5518c487e6175a7
BLAKE2b-256 7f9efdaead3fdba6a50ccefff147a874e8c85a2597e9728c74d2d36606148776

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: unhealpix-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 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-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1f3d897bed7aed2d467988479129d807cb73d713791a2a1a485912f999cd4a3
MD5 5c39c540b9cdc740514b6fe2d68fb20f
BLAKE2b-256 69d09b3911c7f5b570951fc4d8741ec82b6778f0b8e962ed009a8c0eb191393d

See more details on using hashes here.

Provenance

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