hipscat.pixel_math.filter

hipscat.pixel_math.filter#

Module Contents#

Functions#

get_filtered_pixel_list(...)

Aligns the catalog pixel tree with another pixel tree of interest, and

get_filtered_pixel_list(pixel_tree: hipscat.pixel_tree.pixel_tree.PixelTree, search_tree: hipscat.pixel_tree.pixel_tree.PixelTree) List[hipscat.pixel_math.HealpixPixel][source]#

Aligns the catalog pixel tree with another pixel tree of interest, and extracts the HEALPix pixels that overlap. This method is useful to obtain the pixels intersecting a pre-defined search space.

Parameters:
  • pixel_tree (PixelTree) – The catalog pixel tree

  • search_tree (PixelTree) – The tree of pixels that defines the search space

Returns:

A list of HEALPix pixels that overlap in both trees.