lsdb.dask.divisions
#
Module Contents#
Functions#
|
Calculates the Dask Dataframe divisions for a list of HEALPix pixels. |
- get_pixels_divisions(healpix_pixels: List[hipscat.pixel_math.HealpixPixel]) Tuple[int, Ellipsis] | None [source]#
Calculates the Dask Dataframe divisions for a list of HEALPix pixels.
Divisions include the minimum value of every HEALPix pixel hipscat_id and the maximum value of the last HEALPix pixel hipscat_id. In practice they represent the bounds of hipscat_id values for the target pixels.
- Parameters:
healpix_pixels (List[HealpixPixel]) – The list of HEALPix pixels to calculate the hipscat_id bounds for.
- Returns:
The Dask Dataframe divisions, as a tuple of integer.