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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file healsparse-1.10.1.tar.gz
.
File metadata
- Download URL: healsparse-1.10.1.tar.gz
- Upload date:
- Size: 125.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d07c35c26fd1d921023454f3f98dc8ae211fff8ba310c05184b7f3bd8f60b9 |
|
MD5 | 302ae4c0ef884d5fff132b215ab9c524 |
|
BLAKE2b-256 | 5b0f0c326667a0236abbb1a4b176e51f409e7b79d78e0262fca01ec84b8cadf7 |
File details
Details for the file healsparse-1.10.1-py3-none-any.whl
.
File metadata
- Download URL: healsparse-1.10.1-py3-none-any.whl
- Upload date:
- Size: 64.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9580209c74b5d126c9b6fd1f281b661437d7c5cdffd7112304b2fdee50fb23e1 |
|
MD5 | ef7a9b2b04e957bca69f4388faf4bcd1 |
|
BLAKE2b-256 | f15eb9b3df891592aec0ffa315f0dbab4ca8955080568575b6ab0e75742ff23b |