MakePsfMatchedWarpTask#

class lsst.drp.tasks.make_psf_matched_warp.MakePsfMatchedWarpTask(**kwargs)#

Bases: PipelineTask

Methods Summary

run(direct_warp, bbox)

Make a PSF-matched warp from a direct warp.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

run(direct_warp: Exposure, bbox: geom.Box2I)#

Make a PSF-matched warp from a direct warp.

Each individual detector from the direct warp is isolated, one at a time, and PSF-matched to the same model PSF. The PSF-matched images are then added back together to form the final PSF-matched warp. The bulk of the work is done by the psfMatchTask.

Notes#

Pixels that receive no inputs are set to NaN, for e.g, chip gaps. This violates LSST algorithms group policy.

Parameters#

direct_warplsst.afw.image.Exposure

Direct warp to be PSF-matched.

Returns#

structlsst.pipe.base.Struct

Struct containing the PSF-matched warp under the attribute psf_matched_warp.

runQuantum(butlerQC, inputRefs, outputRefs)#

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.