lsst.meas.astrom
14.0-7-g0d69b06+3
|
Select stars based on a reference catalog. More...
Public Member Functions | |
def | selectStars (self, exposure, sourceCat, matches=None) |
Return a list of PSF candidates that represent likely stars. More... | |
Static Public Attributes | |
ConfigClass = CatalogStarSelectorConfig | |
bool | usesMatches = True |
Select stars based on a reference catalog.
Select stars using a match list: select sources where the matching reference object is unresolved, plus the source passes the following tests:
Like all star selectors, the main method is run
. Unlike most star selectors, this one requires the matches
argument (the usesMatches
property is true).
CatalogStarSelectorTask has a debug dictionary with the following keys:
For example, put something like:
into your debug.py
file and run your task with the --debug
flag.
Definition at line 86 of file catalogStarSelector.py.
def lsst.meas.astrom.catalogStarSelector.CatalogStarSelectorTask.selectStars | ( | self, | |
exposure, | |||
sourceCat, | |||
matches = None |
|||
) |
Return a list of PSF candidates that represent likely stars.
A list of PSF candidates may be used by a PSF fitter to construct a PSF.
[in] | exposure | the exposure containing the sources |
[in] | sourceCat | catalog of sources that may be stars (an lsst.afw.table.SourceCatalog) |
[in] | matches | a match vector as produced by meas_astrom; required (defaults to None to match the StarSelector API and improve error handling) |
Definition at line 147 of file catalogStarSelector.py.
|
static |
Definition at line 144 of file catalogStarSelector.py.
|
static |
Definition at line 145 of file catalogStarSelector.py.