CoaddInputAnalysisTask#

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

Bases: AnalysisPipelineTask

Construct a table containing the visit and detector IDs of all PVIs that the butler believes could potentially have gone into a coadd. Indicate those whose post-calibration astrometry overlaps with the patch. Also Indicate those which finally made it into the coadd.

Methods Summary

makeData(inCoadd, patchPoly, imageCorners, ...)

Build the per-PVI data table for analysis.

runQuantum(butlerQC, inputRefs, outputRefs)

Override default runQuantum to load the minimal columns necessary to complete the action.

Methods Documentation

makeData(inCoadd, patchPoly, imageCorners, rawsByVisit)#

Build the per-PVI data table for analysis.

Parameters#

inCoaddset [tuple [int, int]]

Set of (visit, detector) pairs that made it into the coadd.

patchPolylsst.sphgeom.ConvexPolygon

On-sky polygon of the patch.

imageCornersastropy.table.Table

Table of per-detector image corner coordinates.

rawsByVisitdict [int, list]

Raw data references grouped by visit ID.

Returns#

dataastropy.table.Table

Table with columns visit, detector, visitSummaryRecord, patchOverlap, and inCoadd.

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

Override default runQuantum to load the minimal columns necessary to complete the action.

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.