question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH: add `auto` param in filter functions

See original GitHub issue

Currently, classic high pass filtering (i.e. < 0.2 Hz) crashes when uses default, because the transition bandwidth are too large.

As changing the default would create backward incompatibility and differences with MNE-C .

We suggest to add an auto param to adapt the transition bandwidth according to the frequency.

cc @choldgraf @Eric89GXL @jona-sassenhagen

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
larsonercommented, May 19, 2016

I’ll probably dig into this issue at the same time as #3227 (filtering FAQ), hopefully this summer sometime.

I should also look and see what MNE-C does for filtering, since I don’t think it’s identical to what we do (IIRC our filters are at least longer).

0reactions
choldgrafcommented, May 23, 2016

I’d be +1 for that if it doesn’t take too much time, though I bet using an ‘auto’ option as well as including some good documentation on this would be sufficient.

On Mon, May 23, 2016 at 10:28 AM, Eric Larson notifications@github.com wrote:

It just occurred to me that we could also give some warnings when people use filters that are too long for the given data, e.g. a FIR filter with too many coefficients or an IIR filter that rings too long (although this might be too expensive to estimate, I’d have to see).

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/mne-tools/mne-python/issues/3239#issuecomment-221038322

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add 'dependencies' parameter and index argument to the filter ...
This issue will help to resolve this issue: #1012. await t.expect(getHeaderText(1)).eql("Last Name"); async getHeaderText(column) { const ...
Read more >
FILTER function - Microsoft Support
The FILTER function filters an array based on a Boolean (True/False) array. ... Notes: An array can be thought of as a row...
Read more >
filter - CSS: Cascading Style Sheets - MDN Web Docs
The filter property is specified as none or one or more of the functions listed below. If the parameter for any function is...
Read more >
In-Sight® Explorer Help - Filter - Documentation | Cognex
A multipurpose function, Filter produces a color or greyscale output image that is used to enhance low contrast images and/or expose features in...
Read more >
FFmpeg Filters Documentation
Some filters take in input a list of parameters: they are specified after the filter name and an equal sign, and are separated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found