SourceObjectTableAnalysisTask#
- class lsst.analysis.tools.tasks.SourceObjectTableAnalysisTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
AnalysisPipelineTaskMethods Summary
applyAstrometricCorrections(isolatedSources, ...)Shift source positions to match the epoch of the reference catalog objects.
callback(inputs, dataId)Callback function to be used with reconstructor.
prepareAssociatedSources(visit, data, ...)Match isolated sources with reference objects and shift the sources to the object epochs if
self.config.applyAstrometricCorrectionsis True.runQuantum(butlerQC, inputRefs, outputRefs)Override default runQuantum to load the minimal columns necessary to complete the action.
Methods Documentation
- applyAstrometricCorrections(isolatedSources, astrometricCorrectionCatalog, visitTable, visit, refEpochs)#
Shift source positions to match the epoch of the reference catalog objects.
Parameters#
- isolatedSources
astropy.table.Table Catalog of sources which will be modified in place with the astrometric corrections.
- astrometricCorrectionCatalog
astropy.table.Table Catalog with proper motion and parallax information.
- visitTable
pd.DataFrame Catalog containing the epoch for the visit corresponding to the isolatedSources.
- visit
int Identifier of the isolatedSources’ visit.
- isolatedSources
- callback(inputs, dataId)#
Callback function to be used with reconstructor.
- prepareAssociatedSources(visit, data, associatedSourceRefs, associatedSourceIdRefs, refCats, visitTable, astrometricCorrectionCatalog)#
Match isolated sources with reference objects and shift the sources to the object epochs if
self.config.applyAstrometricCorrectionsis True.Parameters#
- visit
int Identifier of the visit corresponding to the data.
- data
astropy.table.Table Catalog of sources to be associated.
- associatedSourceRefs
list[DeferredDatasetHandle] Handle for the catalogs of isolated sources. There will be multiple if the visit overlaps with multiple tracts.
- refCats
list[pd.DataFrame] Catalog of objects with which the sources will be compared.
- visitTable
pd.DataFrame Catalog containing the epoch for the visit corresponding to the isolatedSources.
- astrometricCorrectionCatalog
astropy.table.Table Catalog with proper motion and parallax information.
- visit
- runQuantum(butlerQC, inputRefs, outputRefs)#
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