source_pairing

macauff.source_pairing(cm, force_no_phot_like=False)[source]

Function to iterate over all grouped islands of sources, calculating the probabilities of all permutations of matches and deriving the most likely counterparts for sources in the two catalogues.

Parameters:
cmClass

The cross-match wrapper, containing all of the necessary metadata to perform the cross-match and determine match islands.

force_no_phot_likeboolean

Flag for whether to override pre-generated photometric match and non-match likelihoods and create placeholder arrays, to simulate an astrometry-only match from a with-photometry match.