CatalogStarSelectorTask

class lsst.meas.astrom.CatalogStarSelectorTask

Bases: object

Select stars based on a reference catalog.

Attributes:
usesMatches : bool

A boolean variable specify if the inherited source selector uses matches to an external catalog, and thus requires the matches argument to run(). Set to True for this selector.

Attributes Summary

usesMatches

Methods Summary

selectSources(sourceCat[, matches, exposure]) Return a selection of sources based on reference catalog matches.

Attributes Documentation

usesMatches = True

Methods Documentation

selectSources(sourceCat, matches=None, exposure=None)

Return a selection of sources based on reference catalog matches.

Parameters:
sourceCat : lsst.afw.table.SourceCatalog

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

matches : list of lsst.afw.table.ReferenceMatch

A match vector as produced by meas_astrom; required.

exposure : lsst.afw.image.Exposure or None

The exposure the catalog was built from; used for debug display.