NullSourceSelectorTask#

class lsst.meas.algorithms.NullSourceSelectorTask(**kwargs)#

Bases: BaseSourceSelectorTask

Source selector that returns true for all sources.

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

Methods Summary

selectSources(sourceCat, **kwargs)

Return a selection of sources selected by some criteria.

Methods Documentation

selectSources(sourceCat, **kwargs)#

Return a selection of sources selected by some criteria.

Parameters#

sourceCatVarious 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.

matcheslist of lsst.afw.table.ReferenceMatch or None

A list of lsst.afw.table.ReferenceMatch objects

exposurelsst.afw.image.Exposure or None

The exposure the catalog was built from; used for debug display.

Returns#

structlsst.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)