Skip to content

Commit

Permalink
docstring for inlier matching
Browse files Browse the repository at this point in the history
  • Loading branch information
jveitchmichaelis committed Oct 23, 2020
1 parent ff8e8f4 commit 622489f
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions rascal/calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,16 +629,25 @@ def _get_candidate_points_poly(self, candidate_tolerance):

def _match_bijective(self, candidates, peaks, fit_coeff):
'''
???
Internal function used to return a list of inliers with a
one-to-one relationship between peaks and wavelengths. This
is critical as often we have several potential candidate lines
for each peak. This function first iterates through each peak
and selects the wavelength with the smallest error. It then
iterates through this list and does the same for duplicate
wavelengths.
parameters
----------
candidates:
peaks:
candidates: dict
match candidates, internal to ransac
fit_coeff:
peaks: list
list of peaks [px]
fit_coeff: list
polynomial fit coefficients
'''

Expand Down

0 comments on commit 622489f

Please sign in to comment.