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.

DOC: Reporting filter properties

See original GitHub issue

Concerning filtering, in Wiedmann et al. (2015) they recommend to report:

All filter parameters, including filtertype (high-pass, low-pass, band-pass, band-stop, FIR, IIR), cutoff frequency (including definition), filter order (or length), roll-off or transition bandwidth, passband ripple and stopband attenuation, filter delay(zero-phase, linear-phase, non-linear phase) and causality, and direction of computation (one-pass forward/reverse,or two-pass forward and reverse) must be reported

Checking the MNE documentation and specifically the background on filtering and tutorial, there are some questions that I have:

  1. What is the definition of the cutoff frequency by the filters used in MNE? In the docstring of create_filter it say that -6dB is the middle of the transition window. Does that mean that in MNE, the middle of the transition window is the “half-amplitude” cutoff? (as opposed to half-power)

  2. Filter length and transition bandwidth are being printed upon calling raw.filter(), which is nice - but how would I compute them without having to filter data and copying the values from the console?

  3. I haven’t seen a method to calculate stopband attenuation and passband ripple in MNE. Did I miss it? Is there some straight forward way using scipy?

Does anyone besides me think that these outputs would be a nice addition to the raw.info? Maybe providing filter information as a dictionary containing the meta data named above in addition to the frequencies which are the only thing that is specified currently … opinions?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
larsonercommented, May 9, 2019

Reopening this since @bmaess brought up the idea again, and noted we should do this for IIR filters, as well.

1reaction
jona-sassenhagencommented, May 28, 2018

… would be super cool if we had a function to automatically add a fully specified methods section report from filter settings 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Report.Filter property (Access) - Microsoft Learn
Use the Filter property to specify a subset of records to be displayed when a filter is applied to a form, report, query,...
Read more >
Create Report Configuration: Filter Properties
The Filter Properties page enables you to create filters to limit the data that is shown in a report. For example, you may...
Read more >
Filter properties - IBM
Every company has their own way of reporting on transactions and applications, so the mapping of filter properties is configurable by using customizable ......
Read more >
How to Add filtering to Report - Documentation - Telerik
This makes the report active in the Properties window. Click Filters ellipsis in the property grid. This displays the current list of filters....
Read more >
Filtering Properties
You can filter the properties displayed for a category by label or value using a filter row. Data Manager role users can disable...
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