lsst.meas.algorithms gbe01a4569f+352ba414a5
|
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 574 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. Return ------ struct : `lsst.pipe.base.Struct` The struct contains the following data: - selected : `array` of `bool`` Boolean array of sources that were selected, same length as sourceCat.
Reimplemented from lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask.
Definition at line 582 of file sourceSelector.py.
|
static |
Definition at line 580 of file sourceSelector.py.