ObjectSizeStarSelectorTask#
- class lsst.meas.algorithms.ObjectSizeStarSelectorTask(**kwargs)#
Bases:
BaseSourceSelectorTaskA star selector that looks for a cluster of small objects in a size-magnitude plot, typically to select stars for PSF estimation.
Attributes Summary
Methods Summary
selectSources(sourceCat[, matches, exposure])Return a selection of PSF candidates that represent likely stars.
Attributes Documentation
- usesMatches = False#
Methods Documentation
- selectSources(sourceCat, matches=None, exposure=None)#
Return a selection of PSF candidates that represent likely stars.
A list of PSF candidates may be used by a PSF fitter to construct a PSF.
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 to get the detector to transform to TanPix, and 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