lsst.meas.algorithms gf5d53e8f6c+bc8b7fa68e
|
Public Member Functions | |
def | selectSources (self, sourceCat, matches=None, exposure=None) |
Static Public Attributes | |
ConfigClass = ReferenceSourceSelectorConfig | |
Reference source selector This selects reference sources by (optionally) applying each of a magnitude limit, flag requirements and color limits.
Definition at line 621 of file sourceSelector.py.
def lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask.selectSources | ( | self, | |
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 : `list` of `lsst.afw.table.ReferenceMatch` or None Ignored in this SourceSelector. exposure : `lsst.afw.image.Exposure` or None The exposure the catalog was built from; used for debug display. Returns ------- struct : `lsst.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`)
Reimplemented from lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask.
Definition at line 629 of file sourceSelector.py.
|
static |
Definition at line 627 of file sourceSelector.py.