[med-svn] [python-mne] 349/376: FIX : removing old test_whitening_cov
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:23:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to annotated tag v0.1
in repository python-mne.
commit 655083976d1fbe80ceff349d16e18658577e3322
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Tue Sep 13 16:54:02 2011 -0400
FIX : removing old test_whitening_cov
---
mne/tests/test_cov.py | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/mne/tests/test_cov.py b/mne/tests/test_cov.py
index e3638b8..3ec9531 100644
--- a/mne/tests/test_cov.py
+++ b/mne/tests/test_cov.py
@@ -6,8 +6,7 @@ from scipy import linalg
from .. import Covariance, read_cov, Epochs, merge_events, \
find_events, write_cov_file, compute_raw_data_covariance, \
compute_covariance
-from ..fiff import fiff_open, read_evoked, Raw
-from ..datasets import sample
+from ..fiff import fiff_open, Raw
cov_fname = op.join(op.dirname(__file__), '..', 'fiff', 'tests', 'data',
'test-cov.fif')
@@ -73,21 +72,3 @@ def test_cov_estimation_with_triggers():
assert cov_mne.ch_names == cov.ch_names
assert (linalg.norm(cov.data - cov_mne.data, ord='fro')
/ linalg.norm(cov.data, ord='fro')) < 0.06
-
-
-def test_whitening_cov():
- """Whitening of evoked data and leadfields
- """
- data_path = sample.data_path('.')
- ave_fname = op.join(data_path, 'MEG', 'sample',
- 'sample_audvis-ave.fif')
- cov_fname = op.join(data_path, 'MEG', 'sample',
- 'sample_audvis-cov.fif')
-
- # Reading
- evoked = read_evoked(ave_fname, setno=0, baseline=(None, 0))
-
- cov = Covariance(cov_fname)
- cov.get_whitener(evoked.info)
-
- # XXX : test something
--
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