Skip to main content

HEALPix pixel lookup and geometry routines with numpy

Project description

HPGeom

A lightweight implementation of HEALPix geometry functions, wrapped in a numpy interface.

The implementation is based on the geometric functions in the original HEALPix C++ library code. This package has an all-new API, and also includes compatibility functions with the same interface as healpy for an easy transition from healpy to HPGeom.

Requirements:

At runtime, HPGeom requires numpy.

At build time, a working C compiler is also required.

The full suite of tests require healpy.

Install:

The easiest way to install HPGeom is from pypi (pip install hpgeom) or from conda-forge (conda install hpgeom -c conda-forge).

To install the package from source go to the parent directory of the package and run pip install .. To include all test requirements, install optional dependencies with pip install .[test,test_with_healpy].

Documentation:

Documentation is available at https://hpgeom.readthedocs.io/en/latest .

Acknowledgements:

The HPGeom code was written by Eli Rykoff based on HEALPix C++ code as well as work by Matt Becker and Erin Sheldon.

This software was developed under the Rubin Observatory Legacy Survey of Space and Time (LSST) Dark Energy Science Collaboration (DESC) using LSST DESC resources. The DESC acknowledges ongoing support from the Institut National de Physique Nucléaire et de Physique des Particules in France; the Science & Technology Facilities Council in the United Kingdom; and the Department of Energy, the National Science Foundation, and the LSST Corporation in the United States. DESC uses resources of the IN2P3 Computing Center (CC-IN2P3--Lyon/Villeurbanne - France) funded by the Centre National de la Recherche Scientifique; the National Energy Research Scientific Computing Center, a DOE Office of Science User Facility supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC02-05CH11231; STFC DiRAC HPC Facilities, funded by UK BEIS National E-infrastructure capital grants; and the UK particle physics grid, supported by the GridPP Collaboration. This work was performed in part under DOE Contract DE-AC02-76SF00515.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

hpgeom-1.5.2-cp313-cp313-win_amd64.whl (72.8 kB view details)

Uploaded CPython 3.13Windows x86-64

hpgeom-1.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (197.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

hpgeom-1.5.2-cp313-cp313-macosx_11_0_arm64.whl (68.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

hpgeom-1.5.2-cp313-cp313-macosx_10_13_x86_64.whl (74.8 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

hpgeom-1.5.2-cp312-cp312-win_amd64.whl (72.8 kB view details)

Uploaded CPython 3.12Windows x86-64

hpgeom-1.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (197.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

hpgeom-1.5.2-cp312-cp312-macosx_11_0_arm64.whl (68.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

hpgeom-1.5.2-cp312-cp312-macosx_10_13_x86_64.whl (74.8 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

hpgeom-1.5.2-cp311-cp311-win_amd64.whl (72.6 kB view details)

Uploaded CPython 3.11Windows x86-64

hpgeom-1.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (189.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

hpgeom-1.5.2-cp311-cp311-macosx_11_0_arm64.whl (69.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

hpgeom-1.5.2-cp311-cp311-macosx_10_9_x86_64.whl (74.6 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

hpgeom-1.5.2-cp310-cp310-win_amd64.whl (72.6 kB view details)

Uploaded CPython 3.10Windows x86-64

hpgeom-1.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

hpgeom-1.5.2-cp310-cp310-macosx_11_0_arm64.whl (69.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

hpgeom-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl (74.6 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file hpgeom-1.5.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: hpgeom-1.5.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpgeom-1.5.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7d0fdbf471c71384bd26cc93e18bdce568bcafb15374742886e05563736ac665
MD5 689c4bcd92c95a2cf9ddfa88d7eb864e
BLAKE2b-256 318fb60f9497687bce3258694b9df0d59e15ccf271df8d5fa1d9334422c0d6fe

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0b82186695c863cafeb43b4ed95af334190fe824ce04bdc656dd50e6c0aae40
MD5 24300cf2101eb072af89d5783794c4c0
BLAKE2b-256 7c0a3fcdcf13e7ef3fd8ba3b927702082e8845b0fc2f97ca07742cb685fa3c51

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 97594db5e3bd1c09c7b97be4f1e17fe151026cc9654dc373b9133f1b8da1b624
MD5 1f3958bb91c00521762bbf78507217b6
BLAKE2b-256 fc0e4128f601417822c01faf8bc38b07b0bd81bd466ae6c81f4138164fb9faf5

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cce7b39455ac9682a129cbdf5c8368b2f2f14b1ce9f6e4b23b36ea434a564699
MD5 1958ad0630e25f3237600d300ebd7171
BLAKE2b-256 5cd4ba7de79be7422150ca0b257c467b998a54397d40b0aea20dd767c803b4ea

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: hpgeom-1.5.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 72.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpgeom-1.5.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 915d47dc2d5be1d2f93cb3a021b7592f8e7889343e12b679161c182443fe080b
MD5 d148b7e4112bc1e570331889d82912f3
BLAKE2b-256 51ada975eea68d0127562bf6e135289581dd6a27cebb84e6fbf147bb80d6b311

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 23990811e192a1c81b2e382b2913b483cb386ccb88365d1b7f1c21e707e0ecf8
MD5 42bc5fea4fad3199d48be0d31caebf3d
BLAKE2b-256 4e2fdd88abdeb2cfe9885d4fe8243c8334c3f8d812fdf967bb07209f722fe341

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7086cb7da8056f3db88aa43500328f444a0b0ca6fb7220e6349b79bfc1f67d7e
MD5 7d0729554150afefaec2f88353ccfe91
BLAKE2b-256 74c43e79010318c6bea0ae98fc63f0bd5e22fe88f15bae7e3d26c6c0715c9c4a

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 db4c25391f0e53633f345ad97f7df009c2e6f8dac0efcf8d7317ffd8daf370f5
MD5 70394a79730983a745b2bb9306c00559
BLAKE2b-256 6bbb165133b446c77d4af533eb1d1447248f2ea86ade66ac67db8a8e97e32e78

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: hpgeom-1.5.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 72.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpgeom-1.5.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9160b53dabec16c8aa305447e376973f4a489e9ad97d104d49a918b2eaabbbd1
MD5 429a478d43ddc722b9d0b145cf2d03e2
BLAKE2b-256 689930a17f3ddb9d78af3ef0b1a5fdb4c8adea5eadddc7ac23833d632f9279bf

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd183ca4d3ec0be10b3ef9e4fe11ad60c1be4008b0696bc8c849c43e53536d32
MD5 39e519515ee5bba80d11bfeb01168dbb
BLAKE2b-256 7f2153cfa7aded97a28954ce23299084f01f0e25a5a26a0cb92b9d67373d8bea

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ec17eba8d86d2285f8a4ee32650745dad70925ee1ee95410edfe1e7d5cd6c13
MD5 7c9772303a0ec08fecb8c89eae0e9588
BLAKE2b-256 318c5a78de9e61d72a26b3f901c58d8fcb0124b64699c8074239c7bc81d34960

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 81f84f7263f16f62a602b3c96c0fe6b7d711d4a6f7c2e600c46b8ea660444835
MD5 7dbd9d2079171aea14771e5c774ca33b
BLAKE2b-256 e579a81753d4746a70b4b499481871a8a642e197db38540a144c5456784a885e

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: hpgeom-1.5.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 72.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hpgeom-1.5.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 719f2b4e350cc46f767ce013768b8fa29366bfa1529489be2e49fe585218ac69
MD5 1d9fa916d0271509ef70d1fc00db0072
BLAKE2b-256 cc034068a916ce3fd6352f67b8cd87196fd7f54fd9b6ea019d63e1eedd62241c

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37ad6b83aa832c0fbfe418e7b29168adae3b529997489fd2fda49f411b6a62e2
MD5 0fa9c5d5f7eb3347b56870eb40eb887c
BLAKE2b-256 b760c777b432ffc024b3068d6e6844461eb8b14f5b4869a9053308407c0ff30b

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 043b4d3728f13fcd5ce6993ebc0daade48c550bd1bc7293bb14f0697ae1e7ecc
MD5 a1fb1dfcbc381b109eec503600c277e4
BLAKE2b-256 73e369e600e5a3729cc5fd490a32d0a29cb6ba672581677e2bca38f3da5ab23c

See more details on using hashes here.

File details

Details for the file hpgeom-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 da9efd980a730b8b244a2f69378f3b2f4893586f1d1bc5489d3fad5f01666871
MD5 761d2ea834dbad12c3e5bb541626c384
BLAKE2b-256 7096d4570ca06a7cbea2c8a55a2f019deba2eecb0f6186ce04f159dbd52ef281

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