-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Remove noisy.py module from pyprep #39
Conversation
Codecov Report
@@ Coverage Diff @@
## master #39 +/- ##
==========================================
- Coverage 97.74% 97.01% -0.74%
==========================================
Files 6 5 -1
Lines 710 502 -208
==========================================
- Hits 694 487 -207
+ Misses 16 15 -1
Continue to review full report at Codecov.
|
so sad, noisy.py will be remembered for generations to come. I do find some of the methods of noisy.py more readable than the current ones. Nevertheless the output of the current implementation should be similar to matlab's prep; I think the John Hopkins team did those tests but Im not sure. Some of the differences between noisy.py and find_noisy_channels.py I have spotted are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All seems ok, although why is the code coverage of the project declining?
EDIT: Seems like the misses are:
- EEG with sample rate beyond 100 in find_bad_by_hfnoise
- if drop[i, j] == 1 in find_bad_by_correlation (not sure what that means though)
- raise raise IOError("Too few channels ...") in find_bad_by_ransac
although that doesn't really account for the decline since these werent tested anyway; maybe it is because if one deletes a large chunk of code that was covered then the ratio of lines-covered/total-lines changes and the proportion of the updated coverage is lower.
😆
me too (but I am biased 🙂 ), but we can improve the current methods -> first prune the scope of the repo down to something we can maintain -> then add tests -> then refactor / improve
Yes, I noticed that as well --> this is not very robust and will lead to bugs
yes, that's it! |
closes #11