RefMatchTask#
- class lsst.meas.astrom.RefMatchTask(refObjLoader=None, **kwargs)#
Bases:
TaskMatch an input source catalog with objects from a reference catalog.
Parameters#
- refObjLoader
lsst.meas.algorithms.ReferenceLoader A reference object loader object; gen3 pipeline tasks will pass
Noneand callsetRefObjLoaderinrunQuantum.- **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#
- exposure
lsst.afw.image.Exposure exposure that the sources overlap
- sourceCat
lsst.afw.table.SourceCatalog. catalog of sources detected on the exposure
Returns#
- result
lsst.pipe.base.Struct Result struct with Components:
refCat: reference object catalog of objects that overlap the exposure (lsst.afw.table.SimpleCatalog)matches: Matched sources and references (listoflsst.afw.table.ReferenceMatch)matchMeta: metadata needed to unpersist matches (lsst.daf.base.PropertyList)
Notes#
ignores config.matchDistanceSigma
- exposure
- refObjLoader