lsst.meas.algorithms g914a78e4f1+83efe65783
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, sourceCat, matches=None, exposure=None)
 

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 574 of file sourceSelector.py.

Member Function Documentation

◆ selectSources()

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.

Member Data Documentation

◆ ConfigClass

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

Definition at line 580 of file sourceSelector.py.


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