ObjectSizeStarSelectorTask#

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

Bases: BaseSourceSelectorTask

A 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#

sourceCatlsst.afw.table.SourceCatalog

Catalog of sources to select from. This catalog must be contiguous in memory.

matcheslist of lsst.afw.table.ReferenceMatch or None

Ignored in this SourceSelector.

exposurelsst.afw.image.Exposure or None

The exposure the catalog was built from; used to get the detector to transform to TanPix, and 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)