lsst.meas.algorithms  14.0-7-g23fdbe95+6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask Class Reference
Inheritance diagram for lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask:
lsst.meas.algorithms.sourceSelector.BaseSourceSelectorTask

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
 
 nChildKey
 
 centroidXKey
 
 centroidYKey
 
 centroidFlagKey
 
 edgeKey
 
 interpolatedCenterKey
 
 saturatedKey
 
 fluxKey
 
 fluxFlagKey
 
 fluxSigmaKey
 

Static Public Attributes

 ConfigClass = AstrometrySourceSelectorConfig
 

Detailed Description

!Select sources that are useful for astrometry.

Good astrometry sources have high signal/noise, are non-blended, and
did not have certain "bad" flags set during source extraction. They need not
be PSF sources, just have reliable centroids.

Definition at line 48 of file astrometrySourceSelector.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.__init__ (   self,
  args,
  kwargs 
)

Definition at line 58 of file astrometrySourceSelector.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 70 of file sourceSelector.py.

◆ selectSources()

def lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.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 61 of file astrometrySourceSelector.py.

Member Data Documentation

◆ centroidFlagKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.centroidFlagKey

Definition at line 94 of file astrometrySourceSelector.py.

◆ centroidXKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.centroidXKey

Definition at line 92 of file astrometrySourceSelector.py.

◆ centroidYKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.centroidYKey

Definition at line 93 of file astrometrySourceSelector.py.

◆ ConfigClass

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.ConfigClass = AstrometrySourceSelectorConfig
static

Definition at line 56 of file astrometrySourceSelector.py.

◆ edgeKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.edgeKey

Definition at line 96 of file astrometrySourceSelector.py.

◆ fluxFlagKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.fluxFlagKey

Definition at line 102 of file astrometrySourceSelector.py.

◆ fluxKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.fluxKey

Definition at line 101 of file astrometrySourceSelector.py.

◆ fluxSigmaKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.fluxSigmaKey

Definition at line 103 of file astrometrySourceSelector.py.

◆ interpolatedCenterKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.interpolatedCenterKey

Definition at line 97 of file astrometrySourceSelector.py.

◆ nChildKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.nChildKey

Definition at line 91 of file astrometrySourceSelector.py.

◆ parentKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.parentKey

Definition at line 90 of file astrometrySourceSelector.py.

◆ saturatedKey

lsst.meas.algorithms.astrometrySourceSelector.AstrometrySourceSelectorTask.saturatedKey

Definition at line 98 of file astrometrySourceSelector.py.


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