hats.pixel_tree.negative_tree

hats.pixel_tree.negative_tree#

Functions#

compute_negative_tree_pixels(...)

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

Module Contents#

compute_negative_tree_pixels(tree: hats.pixel_tree.pixel_tree.PixelTree) list[hats.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.