lsst.meas.algorithms ge6526c86ff+9349653ccd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask Class Reference
Inheritance diagram for lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask:
lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask

Public Member Functions

 selectSources (self, sourceCat, **kwargs)
 

Static Public Attributes

 ConfigClass = BaseSourceSelectorConfig
 

Detailed Description

Source selector that returns true for all sources.

Use this when you do not want any sub-selection on your inputs.

Definition at line 722 of file sourceSelector.py.

Member Function Documentation

◆ selectSources()

lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask.selectSources ( self,
sourceCat,
** matches )
Return a selection of sources selected by some criteria.

Parameters
----------
sourceCat : Various table formats
    Catalog of sources to select from. Supports
    `lsst.afw.table.SourceCatalog` or `pandas.DataFrame`
    or `astropy.table.Table`
    This catalog must be contiguous in memory.
matches : `list` of `lsst.afw.table.ReferenceMatch` or None
    A list of lsst.afw.table.ReferenceMatch objects
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 729 of file sourceSelector.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.algorithms.sourceSelector.NullSourceSelectorTask.ConfigClass = BaseSourceSelectorConfig
static

Definition at line 727 of file sourceSelector.py.


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