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:
PipelineTaskCollect 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
runmethod.Methods Documentation
- computeEpochs(cat, epochMapDict)#
Compute the mean epoch of the visits at each object centroid.
Parameters#
- cat
astropy.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.
- cat
- runQuantum(butlerQC, inputRefs, outputRefs)#
Do butler IO and transform to provide in memory objects for tasks
runmethod.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