MultipleCellCoaddBuilderTask#

class lsst.cell_coadds.MultipleCellCoaddBuilderTask(**kwargs: Any)#

Bases: PipelineTask

Task to build cell-based coadded images.

This is the pipeline task that needs to be called from the pipeline. It contains singleCellCoaddBuilder as a subtask which must implement a concrete coaddition algorithm in its run method. The images to be coadded can either be of type calexp or warp, as specified in the inputType configuration field. A skymap with cells tract builder must be passed. For each cell to be coadded, the task will query the butler for all the input images that completely overlap the cell’s outer bounding box and passed them to the run method of the singleCellCoaddBuilder.

See Also#

SingleCellCoaddBuilderTask

Methods Summary

run(expList, skyInfo, quantumDataId)

Run coaddition algorithm for all the cells.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

run(expList: Iterable[DeferredDatasetHandle], skyInfo: Struct, quantumDataId: DataCoordinate) MultipleCellCoadd#

Run coaddition algorithm for all the cells.

Parameters#

expListlist [lsst.daf.butler.DeferredDatasetHandle]

An iterable of DeferredDatasetHandle objects, where the objects can be either calexp or warp images.

skyInfoStruct

Struct with geometric information about the patches and cells.

quantumDataIdDataCoordinate

An immutable dataID dictionary that uniquely refers to the dataset.

Returns#

multipleCellCoaddMultipleCellCoadd

Cell-based coadded image.

runQuantum(butlerQC: QuantumContext, inputRefs: InputQuantizedConnection, outputRefs: OutputQuantizedConnection) MultipleCellCoadd#

Do butler IO and transform to provide in memory objects for tasks run method.

Parameters#

butlerQCQuantumContext

A butler which is specialized to operate in the context of a lsst.daf.butler.Quantum.

inputRefsInputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined input/prerequisite connections.

outputRefsOutputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined output connections.