ScienceSourceSelectorTask#
- class lsst.meas.algorithms.ScienceSourceSelectorTask(**kwargs)#
Bases:
BaseSourceSelectorTaskScience source selector
By “science” sources, we mean sources that are on images that we are processing, as opposed to sources from reference catalogs.
This selects (science) sources by (optionally) applying each of a magnitude limit, flag requirements and star/galaxy separation.
Methods Summary
selectSources(sourceCat[, matches, exposure])Return a selection of sources selected by specified criteria.
Methods Documentation
- selectSources(sourceCat, matches=None, exposure=None)#
Return a selection of sources selected by specified criteria.
Parameters#
- sourceCat
lsst.afw.table.SourceCatalog Catalog of sources to select from. This catalog must be contiguous in memory.
- matches
listoflsst.afw.table.ReferenceMatchor None Ignored in this SourceSelector.
- 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)
- sourceCat