Repository navigation
Use identical RNG state across RANSAC runs when matlab_strict enabled - #89
Conversation
Codecov Report
@@ Coverage Diff @@
## master #89 +/- ##
=======================================
Coverage 98.51% 98.51%
=======================================
Files 7 7
Lines 673 675 +2
=======================================
+ Hits 663 665 +2
Misses 10 10
Continue to review full report at Codecov.
|
sappelhoff
left a comment
There was a problem hiding this comment.
Thanks - also for adding that whatsnew entry!
sappelhoff
left a comment
There was a problem hiding this comment.
Just for clarification before merging: Does this enable us to do some matprep-artifact testing that we weren't able to cleanly do before?
|
Nope: since the channel interpolation method still differs, the re-referencing process still ends up diverging numerically from MatPREP. This just makes it possible to add MatPREP comparisons for the fixed channel interpolation when we get to it. |
|
okay :) then in it goes 🚀 thanks @a-hurst |
PR Description
Closes #74 (at least as far as MATLAB equivalence is concerned). This PR modifies
NoisyChannelsto always use a copy of the random state object during RANSAC whenmatlab_strictis True. This results in the random state being identical for each run ofNoisyChannels.find_bad_by_ransac, matching MATLAB PREP.Also I realize I forgot to update the
whats_new.rstfor the last PR, so I did that here as well!Merge Checklist
closes #<issue-number>to automatically close an issue