lsst.afw  13.0-91-g2a3e2ee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
lsst.afw.table.match.matchContinued Namespace Reference

Functions

def __repr__
 
def __str__
 
def __getitem__
 
def __setitem__
 
def __len__
 
def clone
 
def packMatches
 

Variables

 first
 
 second
 
 distance
 

Function Documentation

def lsst.afw.table.match.matchContinued.__getitem__ (   self,
  i 
)
Treat a Match as a tuple of length 3: (first, second, distance)

Definition at line 53 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.__len__ (   self)

Definition at line 81 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.__repr__ (   self)

Definition at line 31 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.__setitem__ (   self,
  i,
  val 
)
Treat a Match as a tuple of length 3: (first, second, distance)

Definition at line 67 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.__str__ (   self)

Definition at line 36 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.clone (   self)

Definition at line 85 of file matchContinued.py.

def lsst.afw.table.match.matchContinued.packMatches (   matches)
Make a catalog of matches from a sequence of matches.

The catalog contains three fields:
- first: the ID of the first source record in each match
- second: the ID of the second source record in each match
- distance: the distance of each match

@param[in] matches  Sequence of matches, typically of type SimpleMatch, ReferenceMatch or SourceMatch.
    Each element must support: `.first.getId()`->int, `.second.getId()->int` and `.distance->float`.
@return a catalog of matches.

@note this pure python implementation exists because SWIG could not easily be used to wrap
the overloaded C++ functions, so this was written and tested. It might be practical
to wrap the overloaded C++ functions with pybind11, but there didn't seem much point.

Definition at line 109 of file matchContinued.py.

Variable Documentation

lsst.afw.table.match.matchContinued.distance

Definition at line 78 of file matchContinued.py.

lsst.afw.table.match.matchContinued.first

Definition at line 74 of file matchContinued.py.

lsst.afw.table.match.matchContinued.second

Definition at line 76 of file matchContinued.py.