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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: unhealpix-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 623cc75ed5dbb5d473178fef0f3985e781ec69251505c98be61cce33cb7e5f1f
MD5 96e96e38a5da5743df7d2147857d1b23
BLAKE2b-256 71402422d158cd41992c4860f6b00bfb7b11bce524c33b870c18bfa45d070d53

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: unhealpix-1.0.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9594a7e525c6cdc618e35733d8818bb95ec2f20a9a24a99eac4ea133a23c6f9
MD5 39846b04276ec33f04956fb2a318ca96
BLAKE2b-256 5e9c5de194d4d87c2e8e4fa2c3dfa3898afaceba33aef5403f7d31773c171f06

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