ComputeObjectEpochsTask#

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

Bases: PipelineTask

Collect mean epochs for the observations that went into each object.

TODO: DM-46202, Remove this task once the object epochs are available elsewhere.

Methods Summary

computeEpochs(cat, epochMapDict)

Compute the mean epoch of the visits at each object centroid.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Methods Documentation

computeEpochs(cat, epochMapDict)#

Compute the mean epoch of the visits at each object centroid.

Parameters#

catastropy.table.Table

Catalog containing object positions.

epochMapDict: dict [str, DeferredDatasetHandle]

Dictionary of handles per band for healsparse maps containing the mean epoch for positions in the reference catalog.

Returns#

epochTable = astropy.table.Table

Catalog with mean epoch of visits at each object position.

runQuantum(butlerQC, inputRefs, outputRefs)#

Do butler IO and transform to provide in memory objects for tasks run method.

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.