Back to the main page.

Bug 1248 - standard FIR filter order throws a warning

Status CLOSED FIXED
Reported 2012-01-10 15:15:00 +0100
Modified 2012-02-29 10:06:44 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Johanna
URL:
Tags:
Depends on:
Blocks:
See also:

Jörn M. Horschig - 2012-01-10 15:15:36 +0100

Warning: Odd order symmetric FIR filters must have a gain of zero at the Nyquist frequency. The order is being increased by one. > In fir1 at 85 In ft_preproc_highpassfilter at 81 In trunk/private/preproc at 314 In ft_preprocessing at 300 Is there a way to precompute the appropriate filter order beforehands? It is a bit annoying, because it suggests that I did something wrong


Johanna - 2012-01-11 10:57:27 +0100

I introduced this new selection of default filter order, so will take a look.


Johanna - 2012-01-18 10:25:15 +0100

Changes needed in highpassfilter (both fir and firls) and bandstopfilter (only fir). also committed test_bug1248.m. svn revision 5147.