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:
AnalysisPipelineTaskMethods 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#
- plotInfo
dict 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.
- inputs:
- 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