Skip to main content
Ctrl+K
LSDB - Home

Using LSDB

  • Home page
  • Getting Started
  • Tutorials
  • API Reference

Project

  • About
  • Contact us
  • Contribution Guide
  • .rst

lsdb.core.search.pixel_search

Contents

  • Classes
  • Module Contents
    • PixelSearch
      • PixelSearch.from_radec()
      • PixelSearch.filter_hc_catalog()
      • PixelSearch.search_points()

lsdb.core.search.pixel_search#

Classes#

PixelSearch

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

filter_hc_catalog(hc_structure: lsdb.types.HCCatalogTypeVar) → lsdb.types.HCCatalogTypeVar[source]#

Determine the target partitions for further filtering.

search_points(frame: nested_pandas.NestedFrame, _) → nested_pandas.NestedFrame[source]#

Determine the search results within a data frame

previous

lsdb.core.search.order_search

next

lsdb.core.search.polygon_search

Contents
  • Classes
  • Module Contents
    • PixelSearch
      • PixelSearch.from_radec()
      • PixelSearch.filter_hc_catalog()
      • PixelSearch.search_points()

By LINCC Frameworks

© Copyright 2025, LINCC Frameworks.