Skip to main content

Sparse healpix maps and geometry library

Project description

healsparse

Python implementation of sparse HEALPix maps.

HealSparse is a sparse implementation of HEALPix in Python, written for the Rubin Observatory Legacy Survey of Space and Time Dark Energy Science Collaboration (DESC). HealSparse is a pure python library that sits on top of numpy and healpy and is designed to avoid storing full sky maps in case of partial coverage, including easy reading of sub-maps. This reduces the overall memory footprint allowing maps to be rendered at arcsecond resolution while keeping the familiarity and power of healpy.

HealSparse expands on healpy and straight HEALPix maps by allowing maps of different data types, including 32- and 64-bit floats; 8-, 16-, 32-, and 64-bit integers; "wide bit masks" of arbitrary width (allowing hundreds of bits to be efficiently and conveniently stored); and numpy record arrays. Arithmetic operations between maps are supported, including sum, product, min/max, and and/or/xor bitwise operations for integer maps. In addition, there is general support for any numpy universal function.

HealSparse also includes a simple geometric primitive library, to render circles and convex polygons.

Requirements:

healsparse requires to have pre-installed the following packages:

The following package is optional but recommended for all features:

Documentation:

Read the full documentation at https://healsparse.readthedocs.io/en/latest/.

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

healsparse-1.9.0.tar.gz (123.4 kB view details)

Uploaded Source

Built Distribution

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

healsparse-1.9.0-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file healsparse-1.9.0.tar.gz.

File metadata

  • Download URL: healsparse-1.9.0.tar.gz
  • Upload date:
  • Size: 123.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for healsparse-1.9.0.tar.gz
Algorithm Hash digest
SHA256 e83c76973da467342bd228a80907ed702fdbe3567d320c210935e7b2bff10617
MD5 1a3029a7e5880f45fde5ef3f8f2289cd
BLAKE2b-256 7383e06ba93fd5fdad2e1ed29b80025987768dcfd03cd11383d00ad4a7d19345

See more details on using hashes here.

File details

Details for the file healsparse-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: healsparse-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 63.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for healsparse-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cdf8d87cbed3fdb795f41549e679e7411e24a403b7ef4ddc831adf7ad7cf44b
MD5 9dd0a94d5f0494b257719f06b5387c03
BLAKE2b-256 8fac508a0322aaa0b6e219ddf8cad4b3add12a0f57a72d298274d5e74ca28134

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