lsst.meas.algorithms
16.0-20-g21842373+7
|
Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | selectSources (self, sourceCat, matches=None, exposure=None) |
def | run (self, sourceCat, sourceSelectedField=None, matches=None, exposure=None) |
Public Attributes | |
parentKey | |
centroidXKey | |
centroidYKey | |
centroidFlagKey | |
fluxField | |
fluxKey | |
fluxFlagKey | |
fluxErrKey | |
Static Public Attributes | |
ConfigClass = MatcherSourceSelectorConfig | |
bool | usesMatches = False |
Select sources that are useful for matching. Good matching sources have high signal/noise, are non-blended. They need not be PSF sources, just have reliable centroids. Distinguished from astrometrySourceSelector because it is more lenient (i.e. not checking footprints or bad flags).
Definition at line 46 of file matcherSourceSelector.py.
def lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 57 of file matcherSourceSelector.py.
|
inherited |
Select sources and return them. The input catalog must be contiguous in memory. Parameters: ----------- sourceCat : `lsst.afw.table.SourceCatalog` Catalog of sources to select from. sourceSelectedField : `str` or None Name of flag field in sourceCat to set for selected sources. If set, will modify sourceCat in-place. matches : `list` of `lsst.afw.table.ReferenceMatch` or None List of matches to use for source selection. If usesMatches is set in source selector this field is required. If not, it is ignored. exposure : `lsst.afw.image.Exposure` or None The exposure the catalog was built from; used for debug display. Return ------ struct : `lsst.pipe.base.Struct` The struct contains the following data: - sourceCat : `lsst.afw.table.SourceCatalog` The catalog of sources that were selected. (may not be memory-contiguous) - selected : `numpy.ndarray` of `bool`` Boolean array of sources that were selected, same length as sourceCat. Raises ------ RuntimeError Raised if ``sourceCat`` is not contiguous.
Definition at line 69 of file sourceSelector.py.
def lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.selectSources | ( | self, | |
sourceCat, | |||
matches = None , |
|||
exposure = None |
|||
) |
Return a selection of sources that are useful for matching. 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` or None Ignored in this SourceSelector. exposure : `lsst.afw.image.Exposure` or None The exposure the catalog was built from; used for debug display. Return ------ struct : `lsst.pipe.base.Struct` The struct contains the following data: - selected : `array` of `bool`` Boolean array of sources that were selected, same length as sourceCat.
Definition at line 60 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidFlagKey |
Definition at line 92 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidXKey |
Definition at line 90 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidYKey |
Definition at line 91 of file matcherSourceSelector.py.
|
static |
Definition at line 55 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxErrKey |
Definition at line 98 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxField |
Definition at line 95 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxFlagKey |
Definition at line 97 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxKey |
Definition at line 96 of file matcherSourceSelector.py.
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.parentKey |
Definition at line 89 of file matcherSourceSelector.py.
|
staticinherited |
Definition at line 64 of file sourceSelector.py.