[SciPy-user] Interpolate 1D (2D)

Stefan van der Walt stefan at sun.ac.za
Fri Sep 8 06:30:56 EDT 2006


Hi Maik

On Fri, Sep 08, 2006 at 09:49:53AM +0200, Maik Trömel wrote:
> Thanks for your help!
> But there was still the same problem:
> 
> /usr/lib/python2.3/site-packages/scipy/interpolate/interpolate.py in 
> __call__(self, x, y, dx, dy)
>     62         x = atleast_1d(x)
>     63         y = atleast_1d(y)
> ---> 64         z,ier=fitpack._fitpack._bispev(*(self.tck+[x,y,dx,dy]))
>     65         if ier==10: raise ValueError,"Invalid input data"
>     66         if ier: raise TypeError,"An error occurred"
> 
> AttributeError: interp2d instance has no attribute 'tck'

This looks like the error that used to be present in older versions of
scipy.  Are you sure you are running the latest version?

It works here, with

In [17]: numpy.__version__
Out[17]: '1.0rc1.dev3131'

In [18]: scipy.__version__
Out[18]: '0.5.2.dev2190'

Regards
Stéfan



More information about the SciPy-User mailing list