lsst.meas.algorithms  14.0-18-gf7dca964+3
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask:
lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask

Public Member Functions

def selectSources (self, catalog, matches=None)
 
def run (self, sourceCat, maskedImage=None, kwargs)
 Select sources and return them. More...
 

Static Public Attributes

 ConfigClass = ReferenceSourceSelectorConfig
 

Detailed Description

Reference source selector

This selects reference sources by (optionally) applying each of a
magnitude limit, flag requirements and color limits.

Definition at line 470 of file sourceSelector.py.

Member Function Documentation

◆ run()

def lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask.run (   self,
  sourceCat,
  maskedImage = None,
  kwargs 
)
inherited

Select sources and return them.

Parameters
[in]sourceCatcatalog of sources that may be sources (an lsst.afw.table.SourceCatalog)
[in]maskedImagethe maskedImage containing the sources, for plotting.
Returns
an lsst.pipe.base.Struct containing:
  • sourceCat catalog of sources that were selected

Definition at line 71 of file sourceSelector.py.

◆ selectSources()

def lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask.selectSources (   self,
  catalog,
  matches = None 
)
Return a catalog of selected reference sources

Parameters
----------
catalog : `lsst.afw.table.SourceCatalog`
    Catalog of sources to select.
matches : `lsst.afw.table.ReferenceMatchVector`, optional
    List of matches; ignored.

Return struct
-------------
sourceCat : `lsst.afw.table.SourceCatalog`
    Catalog of selected sources, non-contiguous.

Definition at line 478 of file sourceSelector.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorTask.ConfigClass = ReferenceSourceSelectorConfig
static

Definition at line 476 of file sourceSelector.py.


The documentation for this class was generated from the following file: