[SciPy-dev] Problems with test_fitpack.py fitpack2.py

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Nov 20 03:40:01 CST 2003


Dear experts,

What is the reason for the following errors ?


=====================================================================
ERROR: check_linear_constant
(scipy.interpolate.fitpack.test_fitpack.test_LSQBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 52, in check_linear_constant
    lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1)
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 399, in __init__
    kx,ky,eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z
======================================================================
ERROR: check_linear_1d
(scipy.interpolate.fitpack.test_fitpack.test_SmoothBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 72, in check_linear_1d
    lut = SmoothBivariateSpline(x,y,z,kx=1,ky=1)
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 356, in __init__
    kx,ky,s=s,eps=eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z
======================================================================
ERROR: check_linear_constant
(scipy.interpolate.fitpack.test_fitpack.test_SmoothBivariateSpline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
line 62, in check_linear_constant
    lut = SmoothBivariateSpline(x,y,z,kx=1,ky=1)
  File
"/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
line 356, in __init__
    kx,ky,s=s,eps=eps,lwrk2=1)
error: (len(y)==m) failed for 3rd argument z

Nils


More information about the Scipy-dev mailing list