[Eeglablist] proper procedure for calling notch filter in script

Andreas Widmann widmann at uni-leipzig.de
Thu Oct 30 09:43:46 PDT 2008


None wrote:
> I'm attempting to perform a notch filter from a script using
> pop_eegfilt.  I keep getting an error warning about potential MATLAB
> BUGs with.bandpasses.
> 
> In your experience, what's the best way to do a 60hz notch using pop_eegfilt?
> 
> Thanks in advance for sagacious advice!
Not sagacious but pragmatic advice: Don't use it, in particular not 
without manually providing the filter length/order. Also see:
https://sccn.ucsd.edu/eeglab/bugzilla/show_bug.cgi?id=631

In the attachment you find a slightly patched version of pop_eegfilt 
allowing for visual evaluation of the generated filter (filtering/signal 
processing is unmodified; signal processing toolbox is required). This 
way you can at least check whether you were hit by the bandpass filter 
bug or not.

Another option might be using the firfilt plugin.

Best,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pop_eegfilt.m
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20081030/2f38f902/attachment.ksh>


More information about the eeglablist mailing list