23 __all__ = [
"setMatchDistance"]
 
   29     """Set the distance field of the matches in a match list to the distance in 
   34     matches : `list` of `lsst.afw.table.ReferenceMatch` 
   35         a list of matches, reads the coord field of the source and reference 
   36         object of each match writes the distance field of each match 
   41        the coord field of the source in each match must be correct 
   49         sourceCoord = match.first.get(sourceCoordKey)
 
   50         refObjCoord = match.second.get(refObjCoordKey)
 
   51         match.distance = refObjCoord.separation(sourceCoord).asRadians()