[med-svn] [python-mne] 317/353: iir->fir

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:25:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to tag 0.4
in repository python-mne.

commit e16fc1b5adb0aa56d8d73659d2cea4d417b63be7
Author: Martin Luessi <mluessi at nmr.mgh.harvard.edu>
Date:   Fri Jul 27 15:40:38 2012 -0400

    iir->fir
---
 mne/simulation/evoked.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/simulation/evoked.py b/mne/simulation/evoked.py
index db4a15c..cf127dd 100644
--- a/mne/simulation/evoked.py
+++ b/mne/simulation/evoked.py
@@ -81,7 +81,7 @@ def generate_noise_evoked(evoked, noise_cov, iir_filter=None,
     n_samples = evoked.data.shape[1]
     noise.data = rng.multivariate_normal(n_channels, noise_cov.data,
                                          n_samples).T
-    if fir_filter is not None:
+    if iir_filter is not None:
         noise.data = signal.lfilter([1], iir_filter, noise.data, axis=-1)
     return noise
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list