SingleCellCoaddBuilderTask#
- class lsst.cell_coadds.SingleCellCoaddBuilderTask(config: Config | None = None, *, name: str | None = None, parentTask: Task | None = None, log: logging.Logger | lsst.utils.logging.LsstLogAdapter | None = None)#
Bases:
TaskAn abstract interface for tasks building coadds in cells.
SingleCellCoaddBuilderTaskis intended to serve as an abstract interface for various concrete implementation of coaddition algorithms via itsrunmethod.MultipleCellCoaddBuilderTaskis the corresponding pipeline task that needs to be called from the pipeline.MultipleCellCoaddBuilderTaskmust contain a concrete implementation inherited fromSingleCellCoaddBuilderTaskas its base class and registered with thesingleCellCoaddBuilderTaskRegistry, say using@registerConfigurabledecorator.See Also#
MultipleCellCoaddBuilderTask
Attributes Summary
Methods Summary
run(inputs, cellInfo, common)Build a single-cell coadd.
Attributes Documentation
- registry = <abc.Registry object>#
Methods Documentation
- abstract run(inputs: Mapping[ObservationIdentifiers, tuple[DeferredDatasetHandle, Box2I]], cellInfo: CellInfo, common: CommonComponents) SingleCellCoadd#
Build a single-cell coadd.
The images passed in from
MultipleCellCoaddBuilderTaskare guaranteed to completely overlap the outer bounding box of the cells. Any further exclusion of images based on quality assessment or other criteria should be dome in this method.Parameters#
inputs :
Mapping[ObservationIdentifiers,tuple[DeferredDatasetHandle,Box2I]]A mapping from
ObservationIdentifiersto a tuple containing aDeferredDatasetHandlepointing to the input image (calexp or warps) and a minimal bounding box that can be read without loading the entire image.- cellInfo
CellInfo An object with the following attributes: - wcs:
lsst.afw.geom.SkyWcs- outer_bbox:lsst.geom.Box2I- common
CommonComponents A dataclass object with properties that are common to the entire
MultipleCellCoaddobject that the cell produced is a part of.
Returns#
- single_cell_coadd
SingleCellCoadd A single cell coadd.
- cellInfo