lsst.meas.algorithms  14.0-15-gaf93ae82
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask:
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 = ScienceSourceSelectorConfig
 

Detailed Description

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 413 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.ScienceSourceSelectorTask.selectSources (   self,
  catalog,
  matches = None 
)
Return a catalog of selected 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 424 of file sourceSelector.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.algorithms.sourceSelector.ScienceSourceSelectorTask.ConfigClass = ScienceSourceSelectorConfig
static

Definition at line 422 of file sourceSelector.py.


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