[SciPy-dev] FFT and new failures
Pearu Peterson
pearu at scipy.org
Fri Jul 22 06:04:47 EDT 2005
Hi,
The bugs leading to the errors below are now fixed in CVS. They
appared only when using fftw3 library in fftpack.
Pearu
On Fri, 22 Jul 2005, Nils Wagner wrote:
> Using latest cvs scipy.test(1,verbosity=10) results in
>
> ======================================================================
> FAIL: check_n_argument_complex (scipy.fftpack.basic.test_basic.test_fft)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py",
> line 118, in check_n_argument_complex
> assert_array_almost_equal(y[0],direct_dft(x1))
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 740, in assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [ 4.+0.j 16.+4.j 12.+0.j 8.+0.j]
> Array 2: [ 10.+1.j -3.+2.j -2.-1.j -1.-2.j]
>
>
> ======================================================================
> FAIL: check_axes_argument (scipy.fftpack.basic.test_basic.test_fftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py",
> line 502, in check_axes_argument
> assert_array_almost_equal(fft(x[i,j,:]),y[i,j,:])
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 740, in assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 66.6666666667%):
> Array 1: [ 6. +0.j -1.5+0.8660254j -1.5-0.8660254j]
> Array 2: [ 6. +0.j -1.5-0.8660254j -1.5+0.8660254j]
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_fftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py",
> line 419, in check_definition
> assert_array_almost_equal(y,direct_dftn(x))
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 740, in assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [[ 45. +0.j -4.5-2.5980762j -4.5+2.5980762j]
> [-13.5-7.7942286j 0. +0.j 0. +0.j ]
> [-13.5+7.79...
> Array 2: [[ 135. +0.j -13.5-7.7942286j -13.5+7.7942286j]
> [ -4.5+2.5980762j -4.5+2.5980762j -4.5+2.5980762j]
> [ -4...
>
>
> ======================================================================
> FAIL: check_shape_axes_argument (scipy.fftpack.basic.test_basic.test_fftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py",
> line 531, in check_shape_axes_argument
> assert_array_almost_equal (y[i],fft(large_x1[i]))
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 740, in assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 50.0%):
> Array 1: [ 6.+0.j -2.+2.j 2.+0.j -2.-2.j]
> Array 2: [ 6.+0.j -2.-2.j 2.+0.j -2.+2.j]
>
>
> ======================================================================
> FAIL: check_definition (scipy.fftpack.basic.test_basic.test_ifftn)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/fftpack/tests/test_basic.py",
> line 586, in check_definition
> assert_array_almost_equal(y,direct_idftn(x))
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 740, in assert_array_almost_equal
> assert cond,\
> AssertionError:
> Arrays are not almost equal (mismatch 100.0%):
> Array 1: [[ 5. +0.j -0.5+0.2886751j -0.5-0.2886751j]
> [-1.5+0.8660254j 0. +0.j 0. +0.j ]
> [-1.5-0.8660254j ...
> Array 2: [[ 15. +0.j -1.5+0.8660254j -1.5-0.8660254j]
> [ -0.5-0.2886751j -0.5-0.2886751j -0.5-0.2886751j]
> [ -0.5+0.28...
>
>
> ======================================================================
> FAIL: check_round (scipy.special.basic.test_basic.test_round)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/scipy/special/tests/test_basic.py",
> line 1789, in check_round
> assert_array_equal(rnd,rndrl)
> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line
> 715, in assert_array_equal
> assert cond,\
> AssertionError:
> Arrays are not equal (mismatch 25.0%):
> Array 1: [10 10 11 11]
> Array 2: [10 10 10 11]
>
>
> ----------------------------------------------------------------------
> Ran 1265 tests in 3.386s
>
> FAILED (failures=6)
> <unittest.TextTestRunner object at 0x418d470c>
>>>>
>
> Nils
>
>
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>
More information about the SciPy-Dev
mailing list