setMatchDistance

lsst.meas.astrom.setMatchDistance(matches)

Set the distance field of the matches in a match list to the distance in radians on the sky.

Parameters:
matches : list of lsst.afw.table.ReferenceMatch

a list of matches, reads the coord field of the source and reference object of each match writes the distance field of each match

Notes

Warning

the coord field of the source in each match must be correct