[Scipy-tickets] [SciPy] #762: interpolate.Rbf: 'thin-plate' spline interpolation does not work

SciPy scipy-tickets@scipy....
Tue Oct 28 04:55:00 CDT 2008

#762: interpolate.Rbf: 'thin-plate' spline interpolation does not work
 Reporter:  pv                 |       Owner:  somebody                  
     Type:  defect             |      Status:  new                       
 Priority:  normal             |   Milestone:  0.7.0                     
Component:  scipy.interpolate  |     Version:  devel                     
 Severity:  normal             |    Keywords:  interpolate rbf thin-plate
 The 'thin-plate' interpolation option in interpolate.Rbf does not work:
 import scipy as sp
 import scipy.intepolate
 sp.interpolate.Rbf(sp.asarray([1,2,1,2]), sp.asarray([1,1,2,2]),
                    sp.asarray([1,2,3,4]), function='thin-plate')
 Traceback (most recent call last):
   File "<ipython console>", line 1, in <module>
   File "usr/local/stow/scipy-0.7.dev/lib/python2.5/site-
 packages/scipy/interpolate/rbf.py", line 135, in __init__
   File "usr/local/stow/scipy-0.7.dev/lib/python2.5/site-
 packages/scipy/linalg/basic.py", line 126, in solve
   File "usr/local/stow/numpy-1.1.1/lib/python2.5/site-
 packages/lib/python2.5/site-packages/numpy/lib/function_base.py", line
 527, in asarray_chkfinite
 ValueError: array must not contain infs or NaNs

 Neither does the 'gausian' (the name is also misspelled; should be
 'gaussian'), see Ticket #686

Ticket URL: <http://scipy.org/scipy/scipy/ticket/762>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list