SkyPixBoundsBuilder

class lsst.pipe.base.prerequisite_helpers.SkyPixBoundsBuilder

Bases: ABC

A base class for objects that accumulate the appropriate spatial bounds for a quantum.

Methods Summary

finish()

Finish building the spatial bounds and return them.

handle_dataset(parent_dataset_type_name, data_id)

Handle the skeleton graph node for a regular input/output connection for this quantum, including its data ID in the bounds if appropriate.

Methods Documentation

abstract finish() dict[str, lsst.sphgeom._sphgeom.RangeSet]

Finish building the spatial bounds and return them.

Returns:
boundsdict [ str, lsst.sphgeom.RangeSet ]

The spatial bounds of this quantum in various skypix dimensions. Keys are skypix dimension names and values are sets of integer pixel ID ranges.

handle_dataset(parent_dataset_type_name: str, data_id: DataCoordinate) None

Handle the skeleton graph node for a regular input/output connection for this quantum, including its data ID in the bounds if appropriate.

Parameters:
parent_dataset_type_namestr

Name of the dataset type. Never a component dataset type name.

data_idlsst.daf.butler.DataCoordinate

Data ID for the dataset.