Healpix

Helpers for HEALPix indexing and density maps.

Quick example:

from hipscatalog_gen.healpix.densmap import densmap_for_depth
dens = densmap_for_depth(ddf, ra_col="RA", dec_col="DEC", depth=4)

hipscatalog_gen.healpix.densmap.ipix_for_depth

Return HEALPix NESTED pixel indices for a given depth (order).

hipscatalog_gen.healpix.densmap.densmap_for_depth_delayed

Build a delayed HEALPix density map at a given depth.

hipscatalog_gen.healpix.densmap.densmap_for_depth

Compute a HEALPix density map for a given depth immediately.