hipscat.pixel_math.cone_filter
#
Module Contents#
Functions#
Filter the leaf pixels in a pixel tree to return a partition_info dataframe with the pixels |
|
|
Generates a pixel_tree filled with leaf nodes at a given order that overlap with a cone |
- filter_pixels_by_cone(pixel_tree: hipscat.pixel_tree.pixel_tree.PixelTree, ra: float, dec: float, radius_arcsec: float) List[hipscat.pixel_math.HealpixPixel] [source]#
Filter the leaf pixels in a pixel tree to return a partition_info dataframe with the pixels that overlap with a cone.
- Parameters:
ra (float) – Right Ascension of the center of the cone in degrees
dec (float) – Declination of the center of the cone in degrees
radius_arcsec (float) – Radius of the cone in arcseconds
- Returns:
List of HealpixPixels representing only the pixels that overlap with the specified cone.