Skip to main content

Healpix tools package for Python

Project description

https://travis-ci.org/healpy/healpy.png?branch=master Documentation Status

Description

Healpy provides a python package to manipulate healpix maps. It is based on the standard numeric and visualisation tools for Python, Numpy and matplotlib.

To find more information about HEALPix, please visit its home page at http://healpix.sourceforge.net/.

The documentation can be found at https://healpy.readthedocs.io, tutorial at https://healpy.readthedocs.io/en/latest/tutorial.html.

Characteristics

  • pixelisation manipulation (ang2pix, pix2ang, etc.)

  • spherical harmonic transforms (map2alm, alm2map, synfast, anafast, etc. both for temperature and polarisation)

  • plotting capabilities (mollweide and gnomonic projection)

  • reading and writing of HEALPix FITS maps and alm

Requirements

  • Python 2.7, 3.5, or 3.6

  • Numpy (tested with version >=1.5.0)

  • Matplotlib

  • Python development package is required for some distribution (e.g., python-dev package for Ubuntu)

  • Astropy

Quick installation with Pip

The quickest way to install Healpy is with pip (>= 1.4.2), which automatically fetches the latest version of Healpy and any missing dependencies:

pip install --user healpy

If you have installed with pip, you can keep your installation up to date by upgrading from time to time:

pip install --user --upgrade healpy

See INSTALL.rst for further details and other installation options.

Optional

Healpy depends on the HEALPix C++ and cfitsio C libraries. Source code is include with Healpy and you do not have to install them separately.

However, if you have them installed already, Healpy should detect and reuse them instead of building them from source. To use your own installations of HEALPix and cfitsio, you will also need:

See INSTALL.rst for further instructions.

Known issues

  • Building with OpenMP support: the underlying HEALPix C++ library can be built to use OpenMP to speed up some operations on systems with multiple cores. Most, but not all, modern C/C++ compilers support OpenMP, the notable exception being clang.

    If your Healpy build fails with an error message about being unable to link against -lgomp, then this typically means that Healpy detected an already-installed HEALPix C++ library that was built with OpenMP support, but you are trying to build Healpy with a compiler that does not support OpenMP. Try cleaning the build with python setup.py clean –all, and set the environment variables CC and CXX to point to an OpenMP-capable compiler, such as gcc/g++.

  • Healpy does not currently support Windows. See https://github.com/healpy/healpy/issues/25.

  • Incompatibility with cfitisio from HEASOFT: due to a conflict of header file names it is currently not possible to use the cfitsio library provided with the HEASOFT package for compilation of HEALPix C++. HEASOFT’s include directory contains a file called “rotmatrix.h” which clashes with HEALPix’s own rotmatrix.h.

  • Compilation problems in the C++ package: some gcc versions (we have reports for 4.4.5 and 4.4.6) crash with an internal compiler error during compilation of libsharp. Unfortunately we have not found a workaround for this compiler problem. To our knowledge, it has been fixed in gcc 4.4.7 and in the 4.5.x and newer versions.

  • Healpy pixel functions, e.g. ang2pix, do not support 32-bit platforms. See https://github.com/healpy/healpy/issues/194.

Support

For specific HOWTO questions please create a question on StackOverflow and tag it with the healpy tag, so that answers will be easily searchable on google.

If you think you found a bug or you have install issues, open an issue on GitHub: https://github.com/healpy/healpy/issues

For more general discussion, you can write to the healpy mailing list: https://groups.google.com/d/forum/healpy

Contribute

Project development takes place on github, http://github.com/healpy/healpy, please open an issue over there for reporting bugs or suggest improvements. Collaboration is very welcome, just fork the project on github and send pull requests back to the main repository.

Developers

Core developers:

  • Cyrille Rosset

  • Andrea Zonca

  • Martin Reinecke

  • Leo Singer

  • Daniel Lenz

List of contributors: https://github.com/healpy/healpy/graphs/contributors

Acknowledgements

Note that, as stated here publications based on work using the HEALPix software package should include both of the following:

  1. an acknowledgment statement: “Some of the results in this paper have been derived using the HEALPix (Gorski et al., 2005) package”. The complete reference is:

    Gorski, K.M., E. Hivon, A.J. Banday, B.D. Wandelt, F.K. Hansen, M. Reinecke, and M. Bartelmann, HEALPix: A Framework for High-resolution Discretization and Fast Analysis of Data Distributed on the Sphere, Ap.J., 622, 759-771, 2005.

  2. at the first use of the HEALPix acronym, a footnote placed in the main body of the paper referring to the HEALPix web site, currently http://healpix.sf.net

As healpy is based on HEALPix Software (the C++ library), the same condition applies to it.

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

healpy-1.12.8.tar.gz (4.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

healpy-1.12.8-cp37-cp37m-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.7m

healpy-1.12.8-cp37-cp37m-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 3.7m

healpy-1.12.8-cp37-cp37m-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

healpy-1.12.8-cp36-cp36m-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.6m

healpy-1.12.8-cp36-cp36m-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 3.6m

healpy-1.12.8-cp36-cp36m-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

healpy-1.12.8-cp35-cp35m-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.5m

healpy-1.12.8-cp35-cp35m-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 3.5m

healpy-1.12.8-cp35-cp35m-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.5mmacOS 10.14+ x86-64

healpy-1.12.8-cp34-cp34m-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.4m

healpy-1.12.8-cp34-cp34m-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 3.4m

healpy-1.12.8-cp27-cp27mu-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 2.7mu

healpy-1.12.8-cp27-cp27mu-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 2.7mu

healpy-1.12.8-cp27-cp27m-manylinux1_x86_64.whl (13.5 MB view details)

Uploaded CPython 2.7m

healpy-1.12.8-cp27-cp27m-manylinux1_i686.whl (11.8 MB view details)

Uploaded CPython 2.7m

healpy-1.12.8-cp27-cp27m-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded CPython 2.7mmacOS 10.14+ x86-64

File details

Details for the file healpy-1.12.8.tar.gz.

File metadata

  • Download URL: healpy-1.12.8.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

File hashes

Hashes for healpy-1.12.8.tar.gz
Algorithm Hash digest
SHA256 ab82350016b72e794836c3955727493abec5fd0bf41fcbd8a014c4e4bdc3d324
MD5 7cf8bc21b4cc505a77a78e4e335cf5b3
BLAKE2b-256 1ea84c2e66ff2e62c14a0f4c41dacdd241672878d798998579776ffd2eb593f7

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4288b91bcd2637b09e18bc1d22cc18df263eaca927dcefc37de22e7e4278cc46
MD5 233461b39bebf6971bba18244ab810af
BLAKE2b-256 71c4e6dd430d3b2016baf1b6123caf69db221edbe7093c9f887e386b50b302c7

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8aa892757bc0c1aa14d053fa315b60cfe8f50cbb2293df01c98426be4d15e848
MD5 c75d178c34ce27d91c24b86090260feb
BLAKE2b-256 287d85f7176a768c121a782c8c48e39bc39238d2a63601a2ea5b183a45e10cf8

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 60e5f145c09a5a06d44781f31e21edef00cc40a8c662785010d30d622f617005
MD5 ad5324199714f18df2253bde05b2ef35
BLAKE2b-256 bc26d9bde0f61cbbc1cd5c4b5a38106634ba6e9015bbbfa22b337dd2dd695e43

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2b35940b6f8d6b1f2955eb2a7953ab4dd2893ce315036d73cdce43d03ab50cc0
MD5 c5b97abc8e2cf583538b0023afca28be
BLAKE2b-256 dc5f14ffd6b8b40353e344f1dc31d0b58022177d34e6e847ad6cde36f0f0d389

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1b6d0878fbb866bd39f5d8ceb9e579d217943d8ff102c37a63b63ae5aefc4fe3
MD5 a79116d877dd3f53293023c5e5b733c4
BLAKE2b-256 2d91c2a02fcd468a985bfe4cc89b86eb5936753dca08410f6a4cfa1d5faf12e6

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 499e40d80cb32057a7bdd5360b314fff43fc154c748099d7bfa33429b39d1cad
MD5 4a9e807b4235ada263ea16558b593d97
BLAKE2b-256 524e9b75649788ab95b528a5cf98b395d2c7418958e53de9c8b34d49871dbb2f

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 50594cf9a7d5968184a2c62f22bc3fdbef01aa27a638b155b9dd77ca8319c14b
MD5 edace335d71b6a0b90b7c6676d9c0f2e
BLAKE2b-256 afe8df09e3938e4be6204ce4db8ea5225bfc65e92ab4c23b9e848684bb908082

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6df3fe196df54e76dbfa97fd573d02a7eedccbbfcc1711bbd606298cb7a9d788
MD5 a198ea364aab9b381beb53f1fb32866f
BLAKE2b-256 3d14c3a5d83f8b478cae21d0bd49fc025887c98aa5c89ff64377789e1bb41fbf

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp35-cp35m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp35-cp35m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.5m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp35-cp35m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2e8641b79e66ad4137e069ee643dab047fb6aa35132c573be8bc7cdd66cc6b3f
MD5 2d0a8939ec6efc65a9b77534df0702f7
BLAKE2b-256 7d124ec3a348e99b255626661fbb4fdb40555ee370dac3a031f013ebcd2e4972

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bad68ff175a0c4cd128d2d97e586d9ffe94a500b4e56b3b460c5d2ee499be423
MD5 6370b073577224a05ef075d6dd57f290
BLAKE2b-256 17a570448c12a3ef19281791fda2075f973bf339b43f6c9d595df4529b2c6615

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 789d1c4585d14ede8466a0114416d6d1521995715366b1718d361aa90c89169e
MD5 58d563daff9c770491c793d6bef6ce0c
BLAKE2b-256 09f9f1765e9b3f5b9b27c15e3dc292d75eaf52d28476fb4ca7f59ef0690f9390

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fd7537209bb00128328a7b537d85d8d186eca89dae294bb559ff4396e8947a87
MD5 6bef6f202dcc12ac2a5984eb29449874
BLAKE2b-256 6fa30e5ec2123239975f29bc91f53b1170d79ac139cb61cc2875f654cfcc1686

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp27-cp27mu-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp27-cp27mu-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 099fbbd411a21b9cc8c45ba5bd7b3c0e3852bf46b406f70504781e7c6fad9d03
MD5 c709dbb7487f24cf1b26511a319b0f47
BLAKE2b-256 99bfba081e5f3445d7b4ddb14ebea55fb2298ce726a29315bfb16f9a38a89e7c

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 13.5 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 00a803e8adcc7321696eb2b33d947df8a0717f2f4cb7782719c13af7cfc874e4
MD5 e455bebb3ad86995734189b4c3aebdbf
BLAKE2b-256 a814c0df5f2255ecf2b4e420fe959a787e1b932bf6e2d6130a5fdef75906ec3f

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp27-cp27m-manylinux1_i686.whl.

File metadata

  • Download URL: healpy-1.12.8-cp27-cp27m-manylinux1_i686.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b13fcfaecb0c6dbfa1cf5091069929a696460e45282d785228a62a130901f733
MD5 85b8c45aa992dd08408353a9e5d79935
BLAKE2b-256 bddd3d1ed38b61c1031735350293e0927df5d874ba0299162ec05bb4ed670f7d

See more details on using hashes here.

File details

Details for the file healpy-1.12.8-cp27-cp27m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.8-cp27-cp27m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 2.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.8-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9f6b42c2e740bd25937fb9e5787108d5c6e4c5acc9309acc7924e32322563c7c
MD5 71787226ae5de0736bd93c024c8cf9fc
BLAKE2b-256 9dce9fbe45d87827cea821a365b765bf7cbcd731e1c97f9a0d860326bcc99fbd

See more details on using hashes here.

Supported by

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