PerTractPropertyMapAnalysisTask#

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

Bases: AnalysisPipelineTask

Methods Summary

parsePlotInfo(inputs, dataId, connectionNames)

Parse the inputs and dataId to get the information needed to add to the figure.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

parsePlotInfo(inputs: Mapping[str, Any], dataId: DataCoordinate | None, connectionNames: list[str]) Mapping[str, Mapping[str, str] | str | int]#

Parse the inputs and dataId to get the information needed to add to the figure.

Parameters#

inputs: dict

The inputs to the task

dataId: DataCoordinate

The dataId that the task is being run on.

connectionNames: list [str]

Name of the input connections to use for determining table names.

Returns#

plotInfodict

A dictionary containing the information needed to add to the figure.

Notes#

We customized this method to fit our needs, because our analyses are not 1-1 with datasettypes. We analyze multiple connections/datasettypes at once, thus the table names are not the same for all connections.

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.