DetectChi2SourcesTask#

class lsst.drp.tasks.assemble_chi2_coadd.DetectChi2SourcesTask(schema=None, **kwargs)#

Bases: PipelineTask

Methods Summary

run(exposure, idFactory, expId)

Run detection on a chi2 exposure.

runQuantum(butlerQC, inputRefs, outputRefs)

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

Methods Documentation

run(exposure: Exposure, idFactory: IdFactory, expId: int) Struct#

Run detection on a chi2 exposure.

Parameters#

exposure :

Exposure on which to detect (maybe backround-subtracted and scaled, depending on configuration).

idFactory :

IdFactory to set source identifiers.

expId :

Exposure identifier (integer) for RNG seed.

Returns#

resultlsst.pipe.base.Struct

Results as a struct with attributes: outputSources

Catalog of detections (lsst.afw.table.SourceCatalog).

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.