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:
AnalysisPipelineTaskConstruct 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#
- inCoadd
set[tuple[int,int]] Set of (visit, detector) pairs that made it into the coadd.
- patchPoly
lsst.sphgeom.ConvexPolygon On-sky polygon of the patch.
- imageCorners
astropy.table.Table Table of per-detector image corner coordinates.
- rawsByVisit
dict[int,list] Raw data references grouped by visit ID.
Returns#
- data
astropy.table.Table Table with columns
visit,detector,visitSummaryRecord,patchOverlap, andinCoadd.
- inCoadd
- runQuantum(butlerQC: QuantumContext, inputRefs: InputQuantizedConnection, outputRefs: OutputQuantizedConnection) None#
Override default runQuantum to load the minimal columns necessary to complete the action.
Parameters#
- butlerQC
QuantumContext A butler which is specialized to operate in the context of a
lsst.daf.butler.Quantum.- inputRefs
InputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined input/prerequisite connections.- outputRefs
OutputQuantizedConnection Datastructure whose attribute names are the names that identify connections defined in corresponding
PipelineTaskConnectionsclass. The values of these attributes are thelsst.daf.butler.DatasetRefobjects associated with the defined output connections.
- butlerQC