lsdb.core.search.pixel_search#
Classes#
Filter the catalog by HEALPix pixels. |
Module Contents#
- class PixelSearch(pixels: tuple[int, int] | hats.pixel_math.HealpixPixel | list[tuple[int, int] | hats.pixel_math.HealpixPixel])[source]#
Bases:
lsdb.core.search.abstract_search.AbstractSearch
Filter the catalog by HEALPix pixels.
Filters partitions in the catalog to those that are in a specified pixel set. Does not filter points inside those partitions.
- classmethod from_radec(ra: float | list[float], dec: float | list[float]) PixelSearch [source]#
Create a pixel search region, based on radec points.
- Parameters:
ra (float|list[float]) – celestial coordinates, right ascension in degrees
dec (float|list[float]) – celestial coordinates, declination in degrees