lsst.pipe.tasks  13.0-57-geba51f8
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | List of all members
lsst.pipe.tasks.matchBackgrounds.DataRefMatcher Class Reference
Inheritance diagram for lsst.pipe.tasks.matchBackgrounds.DataRefMatcher:

Public Member Functions

def __init__
 
def isMatch
 
def matchList
 

Detailed Description

Match data references for a specified dataset type

Note that this is not exact, but should suffice for this task
until there is better support for this kind of thing in the butler.

Definition at line 583 of file matchBackgrounds.py.

Constructor & Destructor Documentation

def lsst.pipe.tasks.matchBackgrounds.DataRefMatcher.__init__ (   self,
  butler,
  datasetType 
)
Construct a DataRefMatcher

@param[in] butler
@param[in] datasetType: dataset type to match

Definition at line 590 of file matchBackgrounds.py.

Member Function Documentation

def lsst.pipe.tasks.matchBackgrounds.DataRefMatcher.isMatch (   self,
  ref0,
  ref1 
)
Return True if ref0 == ref1

@param[in] ref0: data ref 0
@param[in] ref1: data ref 1

@raise KeyError if either ID is missing a key in keyNames

Definition at line 608 of file matchBackgrounds.py.

def lsst.pipe.tasks.matchBackgrounds.DataRefMatcher.matchList (   self,
  ref0,
  refList 
)
Return a list of indices of matches

@return tuple of indices of matches

@raise KeyError if any ID is missing a key in keyNames

Definition at line 618 of file matchBackgrounds.py.


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