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

Uploaded Source

Built Distributions

hpgeom-1.4.0-cp312-cp312-win_amd64.whl (65.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

hpgeom-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156.5 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

hpgeom-1.4.0-cp312-cp312-macosx_11_0_arm64.whl (62.9 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

hpgeom-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl (66.5 kB view details)

Uploaded CPython 3.12 macOS 10.13+ x86-64

hpgeom-1.4.0-cp311-cp311-win_amd64.whl (65.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

hpgeom-1.4.0-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.4.0-cp311-cp311-macosx_11_0_arm64.whl (63.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

hpgeom-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl (66.8 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

hpgeom-1.4.0-cp310-cp310-win_amd64.whl (65.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

hpgeom-1.4.0-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.4.0-cp310-cp310-macosx_11_0_arm64.whl (63.1 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

hpgeom-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl (66.8 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

hpgeom-1.4.0-cp39-cp39-win_amd64.whl (65.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

hpgeom-1.4.0-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.4.0-cp39-cp39-macosx_11_0_arm64.whl (63.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

hpgeom-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl (66.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: hpgeom-1.4.0.tar.gz
  • Upload date:
  • Size: 147.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hpgeom-1.4.0.tar.gz
Algorithm Hash digest
SHA256 95f7b355a4ca9e923e7b37f13f14c828670435645c51fb41e92223894532a26e
MD5 31091999bc8b2a3202135a7f78157a8b
BLAKE2b-256 a17b4b5d38f4774477a1af3d3a2e200f54e7ebe6a7405e220d2bc46006b8c07f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.4.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 65.9 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hpgeom-1.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 56b75fea7ff008e40a1acbe37ab112a6e0d3d3d018a16606ad12b93cd79412c3
MD5 0243f9bf179b6e486914a4c76a15279d
BLAKE2b-256 0abbf9a433c4fe2dae2d6329caac97e34a1825d6632bc88937f91cb5d99e61cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 adc5e9a27c5da2219c1ef76c6ddf2ed4f74ea217e3a639d430e84a567de6ec0c
MD5 9b2f5853cf4fe9d708c7bed8abcdc8c3
BLAKE2b-256 ac0cef330cf846111482179af71f5af311cd381c58a40b7a787017947017a73c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c73de4b08abf736b2dadeca4a6428b514df0c9387bc560e7428ef7a2ae5b723
MD5 2de46848564ecdd199ee1ecfe1141efb
BLAKE2b-256 8e095b96961f4d48156685b1a998c6c243cfad562d9304344f70b9ddd82b92b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e70c81bf01c6b2bbe417a4b164d0effb349259b9ddcaed81a14b02a57a3a13b6
MD5 54caa7caed9a7c7d2694c45d34a16956
BLAKE2b-256 dc36415c1a8483f827360bad8fb111c10244970b3e9c5845e2fdb78ea0dd4091

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.4.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 65.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hpgeom-1.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8f3af4974d86e8d922dd5b81badb93e2d9dcc068538bd93eab002a23ebd9f7f2
MD5 45831ef3c0201c1ba9685f90e0b1d128
BLAKE2b-256 fc1c1d2ee336410ca257fcef31952cb0d8d3791c92affc1af05f5b209987cb38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91abaf5841215dc8bcccd194f0d7351f7bd7163ec6ff69449abfb20a76250506
MD5 444b85d71c3e5e9eae98491c1ed8f44f
BLAKE2b-256 ba2213c4bf82b11cd7bf4afa6c70fdefaaefab99117f59ef0924f8352432f7c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1429d101db6342febc40fca5eb5d407603fe2af4cda3b3bf9ddb6173b0c058fd
MD5 f62a6e9ace17a1cda5d6a1e2319a2a0c
BLAKE2b-256 8b70ab872cea239c4934fc90e2ea9da5f34a1a9f7bd6b640cda16c5f7ac67a5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5650f5be65f3aecf9b86fce8fe4b22895e0b3480fb3ecfa2ffc3b7fa1138a4e9
MD5 78d39accd4da84a4d904811d3db78143
BLAKE2b-256 7951827a48bbe613b5216cf84eb69281c098eee02c9bc324116eef11c8037c17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.4.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 65.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hpgeom-1.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 96e051baa06fff9514e2b264649e192f560130142352628bf3ae1fb7d7884848
MD5 2709b33cc8c3d2eb5683b4bba814e0f5
BLAKE2b-256 31253fe1ae796eda8e5347a5b2bee05df740dda7f71bda8f47f25e1d831f5c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 978dd7d2dfcf06b621981fb7f5635267f17336dd5dc8456113ab0dd1f290de78
MD5 1141a52a1f47313255b0ff07f1396e44
BLAKE2b-256 3c84449e6bac596603f1afc335f6aab9379db2645a73ca5207eb6ee4cd82c0d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df8b0d92b8dcd4f1c64ebeb0e9a85a68579623d2fac96a00fa628223d564a12d
MD5 b7262c5927860424b4c43ec0f6bac630
BLAKE2b-256 f74cb58fd04b43caeb99dfef6edd7c523b8c41dc9682f4b2e8d3db0bf642b41e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac52505e5897d1d793019ee03ee673b451479488c5ab59dbcb13946cf1cc26cc
MD5 730005ddc7f2ff29c590b627c2e8548f
BLAKE2b-256 c01017617cc702ba27cead855f738b64c0049311fe0d8a733122b64a51c385a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hpgeom-1.4.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 65.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hpgeom-1.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2d6dc38747dc5ab07153a235787393df3268160eb9cf5a5940854d9f87a456e1
MD5 9a2a3528f3f7d631c72a2b19643f7cfc
BLAKE2b-256 fb34851f625676a48d1220e80469ffb4709d710c6a97373c814db011ae6e4f6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e19c5068894cc470e2c3766eb6743ea8b583c4338b2eaae1d4ba8a586d414f4a
MD5 03f96d6d1bb17714c4157b196b011458
BLAKE2b-256 50526568f567de0a29826a09585ae312234a2de810aa175da37526e785b5ed62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 832a4037399187a74046a7337c00564ab522a432d64dd728c375008bb6230c84
MD5 7347b2c90bcb4d59f7c08b196d1977d1
BLAKE2b-256 4b08a8c4790e5ae480b30af33a82a83b513103455e482d0329a5c77d1849aae3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hpgeom-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c4fa7ba41f6c4802dcfea52f47ce15def620bec6846cbf02f50f7a4745fb66c2
MD5 1456bf0410d594d9cdbd8247fa07ffaf
BLAKE2b-256 91318ee8cac032acb4fe5375c56fcde0bf26026b004949c942ff8c9b13c1acf7

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