RefMatchTask#

class lsst.meas.astrom.RefMatchTask(refObjLoader=None, **kwargs)#

Bases: Task

Match an input source catalog with objects from a reference catalog.

Parameters#

refObjLoaderlsst.meas.algorithms.ReferenceLoader

A reference object loader object; gen3 pipeline tasks will pass None and call setRefObjLoader in runQuantum.

**kwargs

Additional keyword arguments for pipe_base lsst.pipe.base.Task.

Methods Summary

loadAndMatch(exposure, sourceCat)

Load reference objects overlapping an exposure and match to sources detected on that exposure.

setRefObjLoader(refObjLoader)

Sets the reference object loader for the task.

Methods Documentation

loadAndMatch(exposure, sourceCat)#

Load reference objects overlapping an exposure and match to sources detected on that exposure.

Parameters#

exposurelsst.afw.image.Exposure

exposure that the sources overlap

sourceCatlsst.afw.table.SourceCatalog.

catalog of sources detected on the exposure

Returns#

resultlsst.pipe.base.Struct

Result struct with Components:

Notes#

ignores config.matchDistanceSigma

setRefObjLoader(refObjLoader)#

Sets the reference object loader for the task.

Parameters#

refObjLoader

An instance of a reference object loader task or class.