Skip to content

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

Merged
sappelhoff merged 3 commits into
sappelhoff:masterfrom
a-hurst:ransac_retain_hf_channels
Apr 12, 2021
Merged

sappelhoff merged 3 commits into
sappelhoff:masterfrom
a-hurst:ransac_retain_hf_channels

Conversation

@a-hurst

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

Copy link
Copy Markdown
Collaborator

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

@sappelhoff sappelhoff left a comment

Copy link
Copy Markdown
Owner

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
22 of 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