Skip to content

Adopt windowed approach to spectrum fit notch filtering as the new default - #40

Merged
sappelhoff merged 4 commits into
sappelhoff:masterfrom
yjmantilla:new_filter
Oct 10, 2020
Merged

sappelhoff merged 4 commits into
sappelhoff:masterfrom
yjmantilla:new_filter

Conversation

@yjmantilla

@yjmantilla yjmantilla commented Oct 9, 2020 •

Copy link
Copy Markdown
Collaborator

PR Description

  • Adds the defaults 10s filter length
  • Adds filter_kwargs parameter

closes #35 #18

I dont know if this is what you have in mind...

I'm also a bit busy again ( new exams, deadlines approaching etc) but I managed advance this a bit.

What do you mean by (in #35)

And perhaps test whether that'd a good idea?

Originally clean line uses like 2-4 second windows with 50% overlap.

@codecov-io

codecov-io commented Oct 9, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #40 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   97.01%   97.02%   +0.01%     
==========================================
  Files           5        5              
  Lines         502      505       +3     
==========================================
+ Hits          487      490       +3     
  Misses         15       15              
Impacted Files Coverage Δ
pyprep/prep_pipeline.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4bcde5e...b8cf09d. Read the comment docs.

@yjmantilla
yjmantilla requested a review from sappelhoff October 9, 2020 04:51

@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.

thanks a lot @yjmantilla looks good to me overall, but I have one technical remark on how to do this more robustly!

Comment thread docs/whats_new.rst Resolved
Comment thread pyprep/prep_pipeline.py Resolved
Comment thread pyprep/prep_pipeline.py Resolved
@sappelhoff sappelhoff changed the title new filter Adopt windowed approach to spectrum fit notch filtering as the new default Oct 9, 2020
@sappelhoff

Copy link
Copy Markdown
Owner

Originally clean line uses like 2-4 second windows with 50% overlap.

okay, that's what I was interested in, thanks. So now we are deviating from that ... but it's better than before, so I am fine with it.

@sappelhoff

Copy link
Copy Markdown
Owner

Thanks @yjmantilla

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.

memory consuming

3 participants