ReferenceSourceSelectorTask#
- class lsst.meas.algorithms.ReferenceSourceSelectorTask(**kwargs)#
Bases:
BaseSourceSelectorTaskReference 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#
- sourceCat
lsst.afw.table.SourceCatalog Catalog of sources to select from. This catalog must be contiguous in memory.
- matches
listoflsst.afw.table.ReferenceMatchor None Ignored in this SourceSelector.
- exposure
lsst.afw.image.Exposureor None The exposure the catalog was built from; used for debug display.
Returns#
- struct
lsst.pipe.base.Struct The struct contains the following data:
selectedBoolean array of sources that were selected, same length as sourceCat. (
numpy.ndarrayofbool)
- sourceCat