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 13a83e6a01278955e9240a584dc7e4760295e455 Author: Alexandre Gramfort <[email protected]> Date: Wed Jun 20 11:59:21 2012 +0300 TST : adding test in firwin2 --- mne/tests/test_utils.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mne/tests/test_utils.py b/mne/tests/test_utils.py new file mode 100644 index 0000000..d15c492 --- /dev/null +++ b/mne/tests/test_utils.py @@ -0,0 +1,11 @@ +from numpy.testing import assert_equal + +from mne.utils import _firwin2 as mne_firwin2 +from scipy import signal + +def test_firwin2(): + """Test firwin2 backport + """ + taps1 = mne_firwin2(150, [0.0, 0.5, 1.0], [1.0, 1.0, 0.0]) + taps2 = signal.firwin2(150, [0.0, 0.5, 1.0], [1.0, 1.0, 0.0]) + assert_equal(taps1, taps2) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
