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:
PipelineTaskMethods 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.skymaptract :intIdentification number of tract.
- patches
list[DeferredDatasetHandle] List of handles for patch coadd exposures to display.
- band
str Filter band. Only used to annotate the plot.
Returns#
- fig
matplotlib.figure.Figure Plot displaying the tract with coadd exposures displayed.
- patches
- 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#
- butlerQC
lsst.pipe.base.QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
lsst.pipe.base.InputQuantizedConnection Datastructure containing named attributes ‘data and ‘skymap’. The values of these attributes are the corresponding
lsst.daf.butler.DatasetRefobjects defined in the correspondingPipelineTaskConnectionsclass.- outputRefs
lsst.pipe.base.OutputQuantizedConnection Datastructure containing named attribute ‘postageStamp’. The value of this attribute is the corresponding
lsst.daf.butler.DatasetRefobject defined in the correspondingPipelineTaskConnectionsclass.
- butlerQC