|
lsst.afw
14.0-17-gfc02bf727
|
Functions | |
| def | __repr__ (self) |
| def | __str__ (self) |
| def | __getitem__ (self, i) |
| def | __setitem__ (self, i, val) |
| def | __len__ (self) |
| def | clone (self) |
| def | packMatches (matches) |
Variables | |
| clone | |
| first | |
| second | |
| distance | |
| 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.
| lsst.afw.table.match.matchContinued.clone |
Definition at line 104 of file matchContinued.py.
| 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.
1.8.13