hipscat.pixel_tree.negative_tree

hipscat.pixel_tree.negative_tree#

Module Contents#

Functions#

compute_negative_tree_pixels(...)

Computes a 'negative pixel tree' consisting of the pixels needed to cover the full sky not in the tree

compute_negative_tree_pixels(tree: hipscat.pixel_tree.pixel_tree.PixelTree) List[hipscat.pixel_math.HealpixPixel][source]#

Computes a ‘negative pixel tree’ consisting of the pixels needed to cover the full sky not in the tree

Parameters:

tree (PixelTree) – the input tree to compute the negative of

Returns (List[HealpixPixel]):

A list of HEALPix pixels needed to cover the part of the sky not covered by the tree, using the least number of pixels possible.