MakeTractPostageStampTask#

class lsst.analysis.tools.tasks.MakeTractPostageStampTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Methods Summary

makeTractPostageStamp(skymap, tract, ...)

Takes the coadd patch exposures and displays them on a set of axes.

runQuantum(butlerQC, inputRefs, outputRefs)

Takes a set of coadded patch Exposures and displays them in their corresponding positions within a tract.

Methods Documentation

makeTractPostageStamp(skymap, tract, patches, band)#

Takes the coadd patch exposures and displays them on a set of axes. The axes boundaries are those of the tract. Patches are annoted with their patch identification number. Empty patches - those that do not have any coverage - are shown as hatched squares.

Parameters#

skymap : lsst.skymap tract : int

Identification number of tract.

patcheslist [DeferredDatasetHandle]

List of handles for patch coadd exposures to display.

bandstr

Filter band. Only used to annotate the plot.

Returns#

figmatplotlib.figure.Figure

Plot displaying the tract with coadd exposures displayed.

runQuantum(butlerQC, inputRefs, outputRefs)#

Takes a set of coadded patch Exposures and displays them in their corresponding positions within a tract. Empty patches - those that do not have any coverage - are shown as hatched squares.

Parameters#

butlerQClsst.pipe.base.QuantumContext

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

inputRefslsst.pipe.base.InputQuantizedConnection

Datastructure containing named attributes ‘data and ‘skymap’. The values of these attributes are the corresponding lsst.daf.butler.DatasetRef objects defined in the corresponding PipelineTaskConnections class.

outputRefslsst.pipe.base.OutputQuantizedConnection

Datastructure containing named attribute ‘postageStamp’. The value of this attribute is the corresponding lsst.daf.butler.DatasetRef object defined in the corresponding PipelineTaskConnections class.