[python-dtcwt] 381/497: testagainstmatlab: use qbgn.npz file for qbgn data
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.
commit eaf4fa4e128ecda0d131c38d3785a5372b042d81
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date: Sat Feb 8 12:47:56 2014 +0000
testagainstmatlab: use qbgn.npz file for qbgn data
---
tests/testagainstmatlab.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/testagainstmatlab.py b/tests/testagainstmatlab.py
index 8676cb9..fd73a84 100644
--- a/tests/testagainstmatlab.py
+++ b/tests/testagainstmatlab.py
@@ -4,7 +4,6 @@ from nose.plugins.attrib import attr
import numpy as np
-from scipy.io import loadmat
from dtcwt.compat import dtwavexfm2, dtwaveifm2, dtwavexfm2b, dtwaveifm2b
from dtcwt.coeffs import biort, qshift
from dtcwt.numpy.lowlevel import coldfilt, colifilt
@@ -57,7 +56,7 @@ def setup():
lena = datasets.lena()
global qbgn
- qbgn = loadmat(os.path.join(os.path.dirname(__file__), 'qbgn.mat'))['qbgn']
+ qbgn = np.load(os.path.join(os.path.dirname(__file__), 'qbgn.npz'))['qbgn']
global verif
verif = np.load(os.path.join(os.path.dirname(__file__), 'verification.npz'))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git
More information about the debian-science-commits
mailing list