lsst.meas.algorithms gb4bc36e013+1b42e43421
|
Public Member Functions | |
def | selectSources (self, sourceCat, matches=None, exposure=None) |
Static Public Attributes | |
ConfigClass = FlaggedSourceSelectorConfig | |
A trivial SourceSelector that simply uses an existing flag field to filter a SourceCatalog. This is most frequently used in steps that occur after the a PSF model has been built, to allow other procedures that need Sources to use the set of Sources used to determine the PSF. Attributes ---------- usesMatches : `bool` A boolean variable specify if the inherited source selector uses matches.
Definition at line 41 of file flaggedSourceSelector.py.
def lsst.meas.algorithms.flaggedSourceSelector.FlaggedSourceSelectorTask.selectSources | ( | self, | |
sourceCat, | |||
matches = None , |
|||
exposure = None |
|||
) |
Return a bool array representing which sources to select from sourceCat. The input catalog must be contiguous in memory. Parameters ---------- sourceCat : `lsst.afw.table.SourceCatalog` Catalog of sources to select from. 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 60 of file flaggedSourceSelector.py.
|
static |
Definition at line 57 of file flaggedSourceSelector.py.