lsdb.core.plotting.skymap#

Functions#

perform_inner_skymap(→ numpy.ndarray)

Splits a partition into pixels at a target order and performs a given function on the new pixels

compute_skymap(→ numpy.ndarray)

Returns a histogram map of healpix_pixels to values.

Module Contents#

perform_inner_skymap(partition: nested_pandas.NestedFrame, func: Callable[[nested_pandas.NestedFrame, hats.pixel_math.HealpixPixel], Any], pixel: hats.pixel_math.HealpixPixel, target_order: int, default_value: Any = 0, **kwargs) numpy.ndarray[source]#

Splits a partition into pixels at a target order and performs a given function on the new pixels

compute_skymap(pixel_map: dict[hats.pixel_math.HealpixPixel, Any], order: int | None = None, default_value: Any = 0.0) numpy.ndarray[source]#

Returns a histogram map of healpix_pixels to values.

Parameters:
  • pixel_map (Dict[HealpixPixel, Any]) – A dictionary of healpix pixels and their values

  • order (int) – The order to make the histogram at (default None, uses max order in pixel_map)

  • default_value – The value to use at pixels that aren’t covered by the pixel_map (default 0)