Skip to content
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

Retain HF noise channels during RANSAC when not bad by any other metric #64

Merged
merged 3 commits into from Apr 12, 2021

Conversation

a-hurst
Copy link
Collaborator

@a-hurst a-hurst commented Apr 12, 2021

PR Description

Closes #63. This PR modifies NoisyChannels so that channels bad by high-frequency noise (and only by HF-noise) are included in RANSAC predictions, as they are in MATLAB PREP.

The rationale for this (other than lining up more closely with MatPREP's internal logic) is that RANSAC uses a copy of the data that's been lowpass-filtered at 50Hz anyway, so high-frequency noise isn't necessarily automatic grounds for exclusion.

Merge Checklist

  • the PR has been reviewed and all comments are resolved
  • all CI checks pass
  • (if applicable): the PR description includes the phrase closes #<issue-number> to automatically close an issue
  • (if applicable): bug fixes, new features, or API changes are documented in whats_new.rst

@sappelhoff sappelhoff added this to the 0.3.2 milestone Apr 12, 2021
@a-hurst a-hurst requested a review from sappelhoff April 12, 2021 14:57
Copy link
Owner

@sappelhoff sappelhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@sappelhoff sappelhoff merged commit 032cad1 into sappelhoff:master Apr 12, 2021
@a-hurst a-hurst mentioned this pull request Apr 12, 2021
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyPREP excludes more channels from RANSAC than MATLAB PREP
2 participants