[SciPy-User] scipy.interpolate.Rbf

Robert Kern robert.kern@gmail....
Sun Aug 22 20:40:56 CDT 2010


It's a bug in that version of scipy. See the SVN for the fix or explicitly
use function='multiquadric' after the *args.

Robert Kern

On Aug 22, 2010 8:29 PM, "Brennan Williams" <
brennan.williams@visualreservoir.com> wrote:

On 23/08/2010 12:54 p.m., Robert Kern wrote:
> On Sun, Aug 22, 2010 at 17:56, Brennan Williams
> <...
Fair enough.

> --- testrbf.py 2010-08-22 19:47:02.000000000 -0500
> +++ correctrbf.py 2010-08-22 19:53:31....
Corrected, but now I get...


Traceback (most recent call last):
  File "F:\dev\rezen\code\testrbf.py", line 40, in <module>
    rbfi2=Rbf(*alist)

File "C:\Python26\lib\site-packages\scipy\interpolate\rbf.py", line
191, in __init__
    self.A = self._init_function(r) - eye(self.N)*self.smooth

File "C:\Python26\lib\site-packages\scipy\interpolate\rbf.py", line
164, in _init_function
    a0 = self._function(r)
TypeError: _h_multiquadric() takes exactly 2 arguments (3 given)

BTW I also tried out the 2D example from
http://www.scipy.org/Cookbook/RadialBasisFunctions and I'm getting the
same message.

I'm using EPD 6.2-2 (Python 2.6.5) under Win 7 32-bit which has scipy
0.8.0b1 and numpy 1.4.0


Brennan




_______________________________________________
SciPy-User mailing list
SciPy-User@scip...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100822/50d3c7fb/attachment.html 


More information about the SciPy-User mailing list