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.5.tar.gz (4.0 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.5-cp37-cp37m-manylinux1_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

healpy-1.12.5-cp37-cp37m-macosx_10_13_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

healpy-1.12.5-cp36-cp36m-manylinux1_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

healpy-1.12.5-cp36-cp36m-macosx_10_13_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

healpy-1.12.5-cp35-cp35m-manylinux1_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

healpy-1.12.5-cp35-cp35m-macosx_10_13_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

healpy-1.12.5-cp34-cp34m-manylinux1_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

healpy-1.12.5-cp27-cp27mu-manylinux1_x86_64.whl (13.6 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

healpy-1.12.5-cp27-cp27m-manylinux1_x86_64.whl (13.6 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

healpy-1.12.5-cp27-cp27m-macosx_10_13_x86_64.whl (7.9 MB view details)

Uploaded CPython 2.7mmacOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: healpy-1.12.5.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for healpy-1.12.5.tar.gz
Algorithm Hash digest
SHA256 10585eb4a30f04ec72ca8d289465dbdc61c5c81d56c46c3f69ee298f7997d45c
MD5 941058d53c7f4938ff550b7108a74122
BLAKE2b-256 0236c12d25faf828a6518dabd0e6f95e641935ee6b47aa871b5c613bdb9d6152

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7853937b31f1a3a38e4a6e01e91a6ce5ca1c232aa970373136b425d6a2dc9ebe
MD5 d00223f7e4672c2119c5261c77039556
BLAKE2b-256 e016732fb1f47c8f14540fb82a92c8d6f6a1bba55c39f5d6387205db5fc8c193

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 84855afed9972d47a23b2d34799b30b99b76bc1d439d8f611a91700960427d45
MD5 a4e58126fe4c9b17995b8f22557eb1cb
BLAKE2b-256 93793b1ceb841ded25e4c9752f5c56334b5fd2add990cceea8c657a06645b873

See more details on using hashes here.

File details

Details for the file healpy-1.12.5-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.5-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.5-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 12837d964f035c667ce894ebe4c141cf6126724d662d11acb954640f0efe5a93
MD5 ffb1e36863d862e0fddd429293b55426
BLAKE2b-256 bc6af1d87acb3b24eec871406bd14dcc88e5bb0638fda0c8ffd88c82c4044dff

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ce6aa4b3090d562f3e753c765a36832ac1830c97ef8ee93fc4c49e7a4470d3df
MD5 237388c4e53f6cf5a793e0787291f7a5
BLAKE2b-256 d23c21777344227aa2c69515fc069d0b38a5fbff4ad4bcf0bfe408f54693717d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a68281386466d5d21e4093670579a21eedebc9dd6c954f18bb348ed6a5d51cc8
MD5 82940f819bdccad5c7a66a592f35088a
BLAKE2b-256 01e7e976c42256c37a41385ad2ce895fa2e222daa8c334e3f5a585c86ad7aef5

See more details on using hashes here.

File details

Details for the file healpy-1.12.5-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.5-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.5-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c6563e7a360a363f8592c2ceeeccb150897adb64079433e6ebb7892aa5557f84
MD5 f430bc50622733e17c5a153b2e4950be
BLAKE2b-256 d6f42efbd470fb8de4cae173488f210d3b65d91f0b208b30e280e87d4c560502

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0b90a908fa58bbf26a1144995db3a8619a286e2a5c998e49ae2ff9eea61bbabc
MD5 9e8e285e1699f134f1f9fd1deb071bc9
BLAKE2b-256 fab33477f6b94a56344ad5b89a9953a5f7165a6d68bdc98832a42486397f3918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8a4b5d986ca9a06e98917de6dd2b92133e8ec5caf8ac8079bdf978410b13ed24
MD5 27c37a7bf510fc5ae9e682558efc4c78
BLAKE2b-256 40bad8200ec280fee8b61e91a76f6310f476b99c1380ea151917fa8047a62b0a

See more details on using hashes here.

File details

Details for the file healpy-1.12.5-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.5-cp35-cp35m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.5m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.5-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 390d5d75cb976e3a2a4525709a1c7128410ed6a86356e62fbf7483eca664cc51
MD5 0973aabb5aa0672ca840953fd7ef33c2
BLAKE2b-256 0228bdab4f1350a98a3b891e2aa48fb87a673a1df8c35c9e25f6bc562c14f601

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5c246a305c0941803b6c5cabb586b0797f5baf2ecbb3551e477249222c47631a
MD5 98dceb204bcd535fa8de70ce6580a296
BLAKE2b-256 0363ed8531b991e89dd63e4491b13428e59bc09a5afa3e80cf5610eddbfd1ba3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 cec4c2fbe2c11493cf5443656af98c74c04c52e587e5a39c2b595972e49516c1
MD5 0560ef475b4199d81090d87b69b1f265
BLAKE2b-256 fd8ba38b17d665dd9589286254896ff14d44e1970c25919917746ff592d045b2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 91ad8ea6aaa960617e23d0d633bea753ca8dda2606fb9eeca1390c83454b7aee
MD5 e734b5c5bfcfd98e6c6a8568e01a2b83
BLAKE2b-256 2ea17c6cb78e3ff7fdc7da4f75fdbcaceb1ab237c86ddd6902bd3161b50ff705

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8760a841bceeb3c34c0d6d3384aa6cc4c0f23d1e15d14eba7f8d1ed7e18485f6
MD5 37b955168e3ede209df693c06ae96cf2
BLAKE2b-256 9ac7f653036d8d7ec8199a9491c30e2f444d701ad6b56362f11f5dc14587b82a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healpy-1.12.5-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c9d2316d1ac93824647bce453b2ce1647891b1ed301930dfb97bdc068f90c1fb
MD5 0b665138c7eda6a8b9ad2ce239686ab3
BLAKE2b-256 ce1ca4663f00e37e3d2dfbe6b792fbf1e9777eaf54d70f83bd0458fb5588b05d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healpy-1.12.5-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.1 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.5-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b6830ecf38c22764352299d7a9170417d33ac8f7088cf6767e44b3acbe0ed6ed
MD5 fea2d5fbe24abb9d16a8a74f15734c28
BLAKE2b-256 87ad963fb9e41b5d1fd83b6c352585364ef7cbd88944572ea61c9cb3a0f0b84d

See more details on using hashes here.

File details

Details for the file healpy-1.12.5-cp27-cp27m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: healpy-1.12.5-cp27-cp27m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 7.9 MB
  • Tags: CPython 2.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for healpy-1.12.5-cp27-cp27m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cf3dff1a0eb216a1e4ede5c80fc125c68b1b5b6bb31f7ef4a57f68320d87d328
MD5 50eee32cd34b2ef5fb8c2783dac25d3d
BLAKE2b-256 e1ce798d398501ff9213230245add534f3456c5f01a266f6931a6961634e1a34

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