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.5.0.tar.gz (96.8 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.5.0-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: healsparse-1.5.0.tar.gz
  • Upload date:
  • Size: 96.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for healsparse-1.5.0.tar.gz
Algorithm Hash digest
SHA256 82977fa51affc51c58472e60e9e9923d2300cf3da10e72e5b751690028ab2eea
MD5 7c6ffacff7d8b862b37739aa9bb71e5f
BLAKE2b-256 8369ad53b96379335db6bf058ab20e13e25120624362494baf27e72f954b6a71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healsparse-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for healsparse-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf285453513ae11f45636f82b4503d645da6ef81aa11f59f9bf0fb51c1ef4f1
MD5 6575fb6cd95b3de3b7c91d23731341cd
BLAKE2b-256 4c34304e04c2dab7d5b0dedb1a8caf6676a3be1c2e2f0d44d23ea8103721672a

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