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.0.tar.gz (147.2 kB view hashes)

Uploaded Source

Built Distributions

hpgeom-1.3.0-cp310-cp310-win_amd64.whl (65.3 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

hpgeom-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (154.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.0-cp310-cp310-macosx_11_0_arm64.whl (62.1 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

hpgeom-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl (66.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

hpgeom-1.3.0-cp39-cp39-win_amd64.whl (65.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

hpgeom-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (154.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.0-cp39-cp39-macosx_11_0_arm64.whl (62.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

hpgeom-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl (66.0 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

hpgeom-1.3.0-cp38-cp38-win_amd64.whl (65.3 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

hpgeom-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (157.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

hpgeom-1.3.0-cp38-cp38-macosx_11_0_arm64.whl (62.1 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

hpgeom-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl (66.0 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

hpgeom-1.3.0-cp37-cp37m-win_amd64.whl (65.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

hpgeom-1.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (151.4 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

hpgeom-1.3.0-cp37-cp37m-macosx_10_9_x86_64.whl (65.9 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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