FilterDiaSourceReliabilityTask#
- class lsst.ap.association.FilterDiaSourceReliabilityTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
PipelineTaskFilter DiaSource catalog by reliability score.
Parameters#
- diaSourceSchema:
lsst.afw.table.Schema Schema for the input DiaSource catalog.
- diaSourceCat
lsst.afw.table.SourceCatalog Catalog of DiaSources produced during image differencing.
- reliability
lsst.afw.table.SourceCatalog, optional Reliability (e.g. real/bogus) classification of the sources in
diaSourceCat.
Returns#
filteredResults :
lsst.pipe.base.StructfilteredDiaSourceslsst.afw.table.SourceCatalogCatalog of unstandardized DiaSources filtered by reliability score.
rejectedDiaSourceslsst.afw.table.SourceCatalogCatalog of unstandardized DiaSources that were rejected due to low reliability scores.
Methods Summary
run(diaSourceCat, reliability)Run the task to filter DiaSources by reliability.
runQuantum(butlerQC, inputRefs, outputRefs)Do butler IO and transform to provide in memory objects for tasks
runmethod.Methods Documentation
- run(diaSourceCat, reliability)#
Run the task to filter DiaSources by reliability.
- 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
- diaSourceSchema: