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.7.0.tar.gz (101.6 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.7.0-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for healsparse-1.7.0.tar.gz
Algorithm Hash digest
SHA256 d61d6402187b4bddce15d8c9dea201853759f7d395179f29f327cc569d3a0126
MD5 3bbd35175fc129fc99c93e36351ba590
BLAKE2b-256 af80e8bb554bc6460ef093d604e2c3a8831f85a9227aae024cc6ffaf297b67b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for healsparse-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e4ce2ff067160a24b8bdd761d2841abd5f950ec0349c2b51e1e6f7bc77ecb1d
MD5 fe6acc12a818d16fc6d5dd6c770470ca
BLAKE2b-256 a7b141992c63bda5ecdf6630f4b2398b8486c213e6c53014ad062f57d4538d50

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