lsst.meas.astrom
16.0-18-g51a54b3+3
|
Public Member Functions | |
def | selectSources (self, sourceCat, matches=None, exposure=None) |
Static Public Attributes | |
ConfigClass = CatalogStarSelectorConfig | |
bool | usesMatches = True |
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.
Definition at line 85 of file catalogStarSelector.py.
def lsst.meas.astrom.catalogStarSelector.CatalogStarSelectorTask.selectSources | ( | self, | |
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. Return ------ struct : `lsst.pipe.base.Struct` Result struct with components: - selected : Boolean array of sources that were selected, same length as sourceCat (`numpy.ndarray` of `bool`)
Definition at line 98 of file catalogStarSelector.py.
|
static |
Definition at line 95 of file catalogStarSelector.py.
|
static |
Definition at line 96 of file catalogStarSelector.py.