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: PipelineTask

Filter DiaSource catalog by reliability score.

Parameters#

diaSourceSchema: lsst.afw.table.Schema

Schema for the input DiaSource catalog.

diaSourceCatlsst.afw.table.SourceCatalog

Catalog of DiaSources produced during image differencing.

reliabilitylsst.afw.table.SourceCatalog, optional

Reliability (e.g. real/bogus) classification of the sources in diaSourceCat.

Returns#

filteredResults : lsst.pipe.base.Struct

filteredDiaSourceslsst.afw.table.SourceCatalog

Catalog of unstandardized DiaSources filtered by reliability score.

rejectedDiaSourceslsst.afw.table.SourceCatalog

Catalog 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 run method.

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 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.