ReferenceSourceSelectorTask#

class lsst.meas.algorithms.ReferenceSourceSelectorTask(**kwargs)#

Bases: BaseSourceSelectorTask

Reference source selector

This selects reference sources by (optionally) applying each of a magnitude limit, flag requirements and color limits.

Methods Summary

selectSources(sourceCat[, matches, exposure])

Return a selection of reference sources selected by some criteria.

Methods Documentation

selectSources(sourceCat, matches=None, exposure=None)#

Return a selection of reference sources selected by some criteria.

Parameters#

sourceCatlsst.afw.table.SourceCatalog

Catalog of sources to select from. This catalog must be contiguous in memory.

matcheslist of lsst.afw.table.ReferenceMatch or None

Ignored in this SourceSelector.

exposurelsst.afw.image.Exposure or None

The exposure the catalog was built from; used for debug display.

Returns#

structlsst.pipe.base.Struct

The struct contains the following data:

selected

Boolean array of sources that were selected, same length as sourceCat. (numpy.ndarray of bool)