AssociatedSourcesTractAnalysisTask#

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

Bases: AnalysisPipelineTask

Methods Summary

applyAstrometricCorrections(dataJoined, ...)

Use proper motion/parallax catalogs to shift positions to median epoch of the visits.

callback(inputs, dataId)

Callback function to be used with reconstructor.

getBoxWcs(skymap, tract)

Get box that defines tract boundaries.

prepareAssociatedSources(skymap, tract, ...)

Concatenate source catalogs and join on associated source IDs.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

applyAstrometricCorrections(dataJoined, astrometricCorrectionCatalog, visitTable)#

Use proper motion/parallax catalogs to shift positions to median epoch of the visits.

Parameters#

dataJoinedastropy.table.Table

Table containing source positions, which will be modified in place.

astrometricCorrectionCatalogastropy.table.Table

Proper motion and parallax catalog.

visitTablepd.DataFrame

Table containing the MJDs of the visits.

callback(inputs, dataId)#

Callback function to be used with reconstructor.

static getBoxWcs(skymap, tract)#

Get box that defines tract boundaries.

prepareAssociatedSources(skymap, tract, sourceCatalogs, associatedSources, associatedSourceIds, astrometricCorrectionCatalog=None, visitTable=None)#

Concatenate source catalogs and join on associated source IDs.

runQuantum(butlerQC, inputRefs, outputRefs)#

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.