NullSourceSelectorTask#
- class lsst.meas.algorithms.NullSourceSelectorTask(**kwargs)#
Bases:
BaseSourceSelectorTaskSource 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.SourceCatalogorpandas.DataFrameorastropy.table.TableThis catalog must be contiguous in memory.- matches
listoflsst.afw.table.ReferenceMatchor None A list of lsst.afw.table.ReferenceMatch objects
- exposure
lsst.afw.image.Exposureor None The exposure the catalog was built from; used for debug display.
Returns#
- struct
lsst.pipe.base.Struct The struct contains the following data:
selectedBoolean array of sources that were selected, same length as sourceCat. (
numpy.ndarrayofbool)