lsst.meas.algorithms  14.0-8-gf6dacf9e+1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.algorithms.matcherSourceSelector.MatcherPessimisticSourceSelectorTask Class Reference
Inheritance diagram for lsst.meas.algorithms.matcherSourceSelector.MatcherPessimisticSourceSelectorTask:
lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask

Public Member Functions

def selectSources (self, sourceCat, matches=None)
 
def run (self, sourceCat, maskedImage=None, kwargs)
 Select sources and return them. More...
 

Public Attributes

 edgeKey
 
 interpolatedCenterKey
 
 saturatedKey
 
 parentKey
 
 centroidXKey
 
 centroidYKey
 
 centroidFlagKey
 
 fluxField
 
 fluxKey
 
 fluxFlagKey
 
 fluxSigmaKey
 

Static Public Attributes

 ConfigClass = MatcherSourceSelectorConfig
 

Detailed Description

!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. This inherited class adds
the removal of saturated, interpolated, and edge_key objects to the set of
bad flags. It is a temporary addition designed preserve the source selction
used in matchOptimisticB. Once matchPessimisticB is adopted as the default
source selector the class will be removed and the saturated, interpoalted, and
edge_key flags will be added to the matcherSourceSelector class.

TODO: Once DM-10399 is complete an RFC will be filed to make matchPessimisticB
the default matcher this class will replace matcherSourceSelector with this source
selector resulting in only one matcherSourceSeletor. The ticket describing
this work is DM-10800.

Definition at line 165 of file matcherSourceSelector.py.

Member Function Documentation

◆ run()

def lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask.run (   self,
  sourceCat,
  maskedImage = None,
  kwargs 
)
inherited

Select sources and return them.

Parameters
[in]sourceCatcatalog of sources that may be sources (an lsst.afw.table.SourceCatalog)
[in]maskedImagethe maskedImage containing the sources, for plotting.
Returns
an lsst.pipe.base.Struct containing:
  • sourceCat catalog of sources that were selected

Definition at line 71 of file sourceSelector.py.

◆ selectSources()

def lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.selectSources (   self,
  sourceCat,
  matches = None 
)
inherited
!Return a catalog of sources: a subset of sourceCat.

If sourceCat is cotiguous in memory, will use vectorized tests for ~100x
execution speed advantage over non-contiguous catalogs. This would be
even faster if we didn't have to check footprints for multiple peaks.

@param[in] sourceCat  catalog of sources that may be sources
                (an lsst.afw.table.SourceCatalog)

@return a pipeBase.Struct containing:
- sourceCat  a catalog of sources

Definition at line 59 of file matcherSourceSelector.py.

Member Data Documentation

◆ centroidFlagKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidFlagKey
inherited

Definition at line 90 of file matcherSourceSelector.py.

◆ centroidXKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidXKey
inherited

Definition at line 88 of file matcherSourceSelector.py.

◆ centroidYKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidYKey
inherited

Definition at line 89 of file matcherSourceSelector.py.

◆ ConfigClass

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.ConfigClass = MatcherSourceSelectorConfig
staticinherited

Definition at line 54 of file matcherSourceSelector.py.

◆ edgeKey

lsst.meas.algorithms.matcherSourceSelector.MatcherPessimisticSourceSelectorTask.edgeKey

Definition at line 186 of file matcherSourceSelector.py.

◆ fluxField

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxField
inherited

Definition at line 93 of file matcherSourceSelector.py.

◆ fluxFlagKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxFlagKey
inherited

Definition at line 95 of file matcherSourceSelector.py.

◆ fluxKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxKey
inherited

Definition at line 94 of file matcherSourceSelector.py.

◆ fluxSigmaKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxSigmaKey
inherited

Definition at line 96 of file matcherSourceSelector.py.

◆ interpolatedCenterKey

lsst.meas.algorithms.matcherSourceSelector.MatcherPessimisticSourceSelectorTask.interpolatedCenterKey

Definition at line 187 of file matcherSourceSelector.py.

◆ parentKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.parentKey
inherited

Definition at line 87 of file matcherSourceSelector.py.

◆ saturatedKey

lsst.meas.algorithms.matcherSourceSelector.MatcherPessimisticSourceSelectorTask.saturatedKey

Definition at line 188 of file matcherSourceSelector.py.


The documentation for this class was generated from the following file: