ObjectTableSurveyAnalysisTask#

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

Bases: AnalysisPipelineTask

A specialized AnalysisPipelineTask for multiple tracts.

Methods Summary

loadData(handle[, names])

Load the minimal set of keyed data from the input dataset.

parsePlotInfo(inputs, dataId[, connectionName])

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

Methods Documentation

loadData(handle: Iterable[DeferredDatasetHandle], names: Iterable[str] | None = None) KeyedData#

Load the minimal set of keyed data from the input dataset.

Parameters#

handleIterable of DeferredDatasetHandle

Handle to load the dataset with only the specified columns.

namesIterable of str

The names of keys to extract from the dataset. If names is None then the collectInputNames method is called to generate the names. For most purposes these are the names of columns to load from a catalog or data frame.

Returns#

result: KeyedData

The dataset with only the specified keys loaded.

parsePlotInfo(inputs: Mapping[str, Any] | None, dataId: DataCoordinate | None, connectionName: str = 'data') Mapping[str, str]#

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

Parameters#

inputs: dict

The inputs to the task

dataCoordinate: lsst.daf.butler.DataCoordinate

The dataId that the task is being run on.

connectionName: str, optional

Name of the input connection to use for determining table name.

Returns#

plotInfo : dict