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 Distribution

hpgeom-1.3.2.tar.gz (147.2 kB view details)

Uploaded Source

Built Distributions

hpgeom-1.3.2-cp312-cp312-win_amd64.whl (65.7 kB view details)

Uploaded CPython 3.12 Windows x86-64

hpgeom-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156.4 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.2-cp312-cp312-macosx_11_0_arm64.whl (62.8 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

hpgeom-1.3.2-cp312-cp312-macosx_10_9_x86_64.whl (66.5 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

hpgeom-1.3.2-cp311-cp311-win_amd64.whl (65.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

hpgeom-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (154.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.2-cp311-cp311-macosx_11_0_arm64.whl (62.9 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

hpgeom-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl (66.5 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

hpgeom-1.3.2-cp310-cp310-win_amd64.whl (65.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

hpgeom-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (153.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.2-cp310-cp310-macosx_11_0_arm64.whl (62.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

hpgeom-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl (66.5 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

hpgeom-1.3.2-cp39-cp39-win_amd64.whl (65.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

hpgeom-1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (153.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.2-cp39-cp39-macosx_11_0_arm64.whl (62.9 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

hpgeom-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl (66.5 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file hpgeom-1.3.2.tar.gz.

File metadata

  • Download URL: hpgeom-1.3.2.tar.gz
  • Upload date:
  • Size: 147.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hpgeom-1.3.2.tar.gz
Algorithm Hash digest
SHA256 74c31c3af4b16728ee986a999a4ed952db2cad24d9834c54090a53e95edce7ba
MD5 9a09995016b68ccc5b24684a2a7f40c0
BLAKE2b-256 088639f1a12853fccf636707af647b3a85b5ed432841fabfab70c7a2a4348d52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.3.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 65.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hpgeom-1.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7c0548770ae238e5eec269a125b4dd93518a1754604c6f5542c346528b395d28
MD5 e532ecba968545b3621e0510c889cdc7
BLAKE2b-256 19d9ebf1ae162560b43a25b3781373ab6835c7b882f18c9728695110757d6f3f

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 76563191f47868d754b0bcb4078b0793577637c49063d186bc1200600fbd6df9
MD5 3bac263818b7907e8b866c5f78321ce1
BLAKE2b-256 7a524504ac5caf3b5114e4a0a0bfc8d0126fbb8ff1bd16202e5f6bd8aa0fa790

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26c045a2e2ee3f40ea9e1a4560b0f2b30a602eda5fa22c2e3e3217b58a204393
MD5 913aeebefd3ff0f41da38418b1c701ea
BLAKE2b-256 8c159efdec07908b1ca4b70fd52f4750dded57b160eb30343dc630e547b36702

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8debe30f77914df4ee4d0a55e2f023e8232924cf7f265e7f7da9746997229a09
MD5 84cc3e5c5bd85d9b9c2132a7245051ca
BLAKE2b-256 63f00e72d332c034f8d5a8436df833a62b6ae23cf76abc2ca0c51a9382fd55a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.3.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hpgeom-1.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 578d4d03ecf107adedcbd90eacd726644982dcf254069adfb46b19c7e59113aa
MD5 f042870991cd949c233574720d1b7293
BLAKE2b-256 553aaf7f4f91c14e325c718dc90f213c7faaaa72bfc1c7180abbf724d86f8417

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e9c10bb4f7d8cf525d582a524fd1018ac7a5bfb4db98735737ae35ee0368ff63
MD5 1107ddb2ff99351f8139347d46fd57fe
BLAKE2b-256 371c8895467dc908a2d0b0e4ade4dd92fdb7da3f971d51bc18d8b9696c5b12a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6e32380096b6d9d46ee08905e6f8e78bf7e34b388d7371a528e5b69b8730cc0
MD5 c79a9ee96c8d47ce44298a2dca5e1c97
BLAKE2b-256 6bb1e2daa5d26e1c03177cc802438e7318f35ff07c8581fa6ce8906e9f3e093f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 40442f09b0fbe60b628360ff9700d97d2b305da7d79b3aee6f56c62060487b5f
MD5 d81a4228bd6b4dcf1f38baf707cd0fa7
BLAKE2b-256 4a184d1cb693da6b3dc575a5c6902f66691f14c66067d99a8c505d7f0d23bb78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.3.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hpgeom-1.3.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cf9b2fa1e312215c222223b5647341efed0a000c7b4183ea3a4856ded6f2fcb5
MD5 591370ec029562ae351ed6194c30f281
BLAKE2b-256 57faf8798b192d891b0ac4e12348d2162dbf66c3c3a5e621b802d55ffe342119

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3fee8812387a64b85d635e484be6f6c418ea7fcfe967477e4893fb203676f91f
MD5 6701ec47986623ad24a74396cb9fcba7
BLAKE2b-256 2c181ada55791ec280e2bfe49bbfdeb408f2f52a138b406fd10e630d6918f2a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07d9f42a75e7f3f40f6d00016b7c16cc37928e06c4d62f56f7267ccf3e0118fd
MD5 0f77501ebf5b579a9dce91b22c6d16ad
BLAKE2b-256 74e3e3443fdb3500b81c46dbd42426f523358baed90d37ebd9549efc100a4b4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ec17945067b0b638974274ee5af077b2ffb7370acb4c65edb3bb30bd99b8b141
MD5 1a6bc7d86592d8cb3a969cd02d38abd2
BLAKE2b-256 9a38a9b6ba85de800a062d66f3eb870fb0fba1a020e0181a67861513442e97a2

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: hpgeom-1.3.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hpgeom-1.3.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9f3d2bf5c4fd191617c2dc73733d0246f5e0d2bf6378c24645e191085d53b376
MD5 a963f886144036caeec36b000d520891
BLAKE2b-256 0bbda798522f5fda45c58f0b1dd0cc71b6a777ea8e73d9882907c8c324c15f88

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f831b6301472c1f0ef5d627eb0d43396c94f0496417ac3bb924e6563a8711039
MD5 644cd4ea9a41f4f45d6a9d53333ec2c8
BLAKE2b-256 34b6bf74bd19d3b0812530882679e26488f1cec6c989f1cd81265a7a9feeea24

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39ee66cfbb38d6838e11b6ddd6afa1b802abb1a351e8da440ed308f0ec88cbe6
MD5 74255993d440107d1a5b01d7b443742f
BLAKE2b-256 42b9832dccce77b1629114cc392f85b6ecc1495c35878aff763c213e106e924c

See more details on using hashes here.

File details

Details for the file hpgeom-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for hpgeom-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ec3994dae3a7c47ede8b64e0325cc5d8e151464c99b5ce020b36540447ea6a8
MD5 33724a252a8d94106c64508aeb7c6d9f
BLAKE2b-256 9b40bdc634743f3aff7af4fbd8a5bedb3ca8f339a15765897ec38a00e519426e

See more details on using hashes here.

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