PolygonSearch#
- class PolygonSearch(vertices: list[tuple[float, float]], fine: bool = True)[source]#
Perform a polygonal search to filter the catalog.
IMPORTANT: Requires additional
lsst-sphgeompackageFilters to points within the polygonal region specified in ra and dec, in degrees. Filters partitions in the catalog to those that have some overlap with the region.
Methods
filter_hc_catalog(hc_structure)Determine the target partitions for further filtering.
perform_hc_catalog_filter(hc_structure)Filters catalog pixels according to the provided pixel set
plot([projection, title, fov, center, wcs, ...])Plot the search region
search_points(frame, metadata)Determine the search results within a data frame
Methods
__init__(vertices[, fine])filter_hc_catalog(hc_structure)Determine the target partitions for further filtering.
perform_hc_catalog_filter(hc_structure)Filters catalog pixels according to the provided pixel set
plot([projection, title, fov, center, wcs, ...])Plot the search region
search_points(frame, metadata)Determine the search results within a data frame