match_pairs#
- astropop.polarimetry.match_pairs(x, y, dx, dy, tolerance=1.0)#
Match the pairs of ordinary/extraordinary points (x, y).
This function matches the pairs of ordinary and extraordinary points (x, y) using the displacement (dx, dy) between the two beams.
- Parameters:
- x, y: array_like
Arrays of x and y positions of the sources.
- dx, dy: float
Displacement between the ordinary and extraordinary beams.
- tolerance: float
Tolerance for the matching.