lsst.meas.algorithms
14.0-10-g59393990+3
|
Base class for star selectors. More...
Public Member Functions | |
def | __init__ (self, schema, kwds) |
def | run (self, exposure, sourceCat, matches=None, isStarField=None) |
Select stars, make PSF candidates, and set a flag field True for stars in the input catalog. More... | |
def | selectStars (self, exposure, sourceCat, matches=None) |
Return a catalog of stars: a subset of sourceCat whose records are shallow copies. More... | |
def | makePsfCandidates (self, exposure, starCat) |
Make a list of PSF candidates from a star catalog. More... | |
Static Public Attributes | |
bool | usesMatches = False |
ConfigClass = BaseStarSelectorConfig | |
Base class for star selectors.
Register all star selectors with the starSelectorRegistry using: starSelectorRegistry.register(name, class)
Definition at line 64 of file starSelector.py.
def lsst.meas.algorithms.starSelector.BaseStarSelectorTask.__init__ | ( | self, | |
schema, | |||
kwds | |||
) |
Definition at line 75 of file starSelector.py.
def lsst.meas.algorithms.starSelector.BaseStarSelectorTask.makePsfCandidates | ( | self, | |
exposure, | |||
starCat | |||
) |
Make a list of PSF candidates from a star catalog.
[in] | exposure | the exposure containing the sources |
[in] | starCat | catalog of stars (an lsst.afw.table.SourceCatalog), e.g. as returned by the run or selectStars method |
Definition at line 128 of file starSelector.py.
def lsst.meas.algorithms.starSelector.BaseStarSelectorTask.run | ( | self, | |
exposure, | |||
sourceCat, | |||
matches = None , |
|||
isStarField = None |
|||
) |
Select stars, make PSF candidates, and set a flag field True for stars in the input catalog.
[in] | exposure | the exposure containing the sources |
[in] | sourceCat | catalog of sources that may be stars (an lsst.afw.table.SourceCatalog) |
[in] | matches | astrometric matches; ignored by this star selector (an lsst.afw.table.ReferenceMatchVector), or None. Some star selectors will ignore this argument, others may require it. See the usesMatches class variable. |
[in] | isStarField | name of flag field to set True for stars, or None to not set a field; the field is left unchanged for non-stars |
Definition at line 80 of file starSelector.py.
def lsst.meas.algorithms.starSelector.BaseStarSelectorTask.selectStars | ( | self, | |
exposure, | |||
sourceCat, | |||
matches = None |
|||
) |
Return a catalog of stars: a subset of sourceCat whose records are shallow copies.
[in] | exposure | the exposure containing the sources |
[in] | sourceCat | catalog of sources that may be stars (an lsst.afw.table.SourceCatalog) |
[in] | matches | astrometric matches; ignored by this star selector (an lsst.afw.table.ReferenceMatchVector), or None. Some star selectors will ignore this argument, others may require it. See the usesMatches class variable. |
Definition at line 110 of file starSelector.py.
|
static |
Definition at line 72 of file starSelector.py.
|
static |
Definition at line 71 of file starSelector.py.