lsst.meas.algorithms gbafd67b1dc+c07fa94c96
|
Public Member Functions | |
def | selectSources (self, sourceCat, matches=None, exposure=None) |
Static Public Attributes | |
ConfigClass = ScienceSourceSelectorConfig | |
Science source selector By "science" sources, we mean sources that are on images that we are processing, as opposed to sources from reference catalogs. This selects (science) sources by (optionally) applying each of a magnitude limit, flag requirements and star/galaxy separation.
Definition at line 514 of file sourceSelector.py.
def lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask.selectSources | ( | self, | |
sourceCat, | |||
matches = None , |
|||
exposure = None |
|||
) |
Return a selection of sources selected by specified 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 525 of file sourceSelector.py.
|
static |
Definition at line 523 of file sourceSelector.py.