lsst.meas.algorithms g8588faa8eb+d2f309c3d6
|
Public Member Functions | |
selectSources (self, sourceCat, **kwargs) | |
Static Public Attributes | |
ConfigClass = BaseSourceSelectorConfig | |
Source selector that returns true for all sources. Use this when you do not want any sub-selection on your inputs.
Definition at line 710 of file sourceSelector.py.
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 717 of file sourceSelector.py.
|
static |
Definition at line 715 of file sourceSelector.py.