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

Public Member Functions

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

Public Attributes

 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.

Definition at line 47 of file matcherSourceSelector.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.__init__ (   self,
  args,
  kwargs 
)

Definition at line 56 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 
)
!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

Definition at line 90 of file matcherSourceSelector.py.

◆ centroidXKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidXKey

Definition at line 88 of file matcherSourceSelector.py.

◆ centroidYKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.centroidYKey

Definition at line 89 of file matcherSourceSelector.py.

◆ ConfigClass

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

Definition at line 54 of file matcherSourceSelector.py.

◆ fluxField

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxField

Definition at line 93 of file matcherSourceSelector.py.

◆ fluxFlagKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxFlagKey

Definition at line 95 of file matcherSourceSelector.py.

◆ fluxKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxKey

Definition at line 94 of file matcherSourceSelector.py.

◆ fluxSigmaKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.fluxSigmaKey

Definition at line 96 of file matcherSourceSelector.py.

◆ parentKey

lsst.meas.algorithms.matcherSourceSelector.MatcherSourceSelectorTask.parentKey

Definition at line 87 of file matcherSourceSelector.py.


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