hipscatalog_gen.healpix.densmap.densmap_for_depth

densmap_for_depth(ddf, ra_col, dec_col, depth)[source]

Compute a HEALPix density map for a given depth immediately.

This is a simple wrapper around densmap_for_depth_delayed(…).compute().

Parameters:
  • ddf (Any) – Dask-like collection or LSDB catalog.

  • ra_col (str) – RA column name (degrees).

  • dec_col (str) – DEC column name (degrees).

  • depth (int) – HEALPix order (depth).

Returns:

Numpy array with counts per pixel.

Return type:

ndarray