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.1.3.tar.gz (26.1 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.1.3-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: healsparse-1.1.3.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for healsparse-1.1.3.tar.gz
Algorithm Hash digest
SHA256 735cb4eabbbd6feacf0c713ef53b23ff8e5ac273ea6345030f98a5656533cb3c
MD5 2342a5ef5354f2b750ca00e4eb10c972
BLAKE2b-256 4c8bc4eb1040f570efedb6f2d3dc75e7b7e7077049a2b9758cc2eb3ce27dce2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: healsparse-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for healsparse-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a57f3dd7441d77f5f3b2179a906227c5d5801471564aa53dc8e6f53a14cd7356
MD5 2828def1ec329137926df36ebd268c88
BLAKE2b-256 37b58fcc5fd5b3c50d1b263f829c2eb64c510d29e2491aa73916e2af8f8694dd

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