[Scipy-tickets] [SciPy] #1406: griddata needs sorted data

SciPy Trac scipy-tickets@scipy....
Thu Mar 10 19:28:34 CST 2011


#1406: griddata needs sorted data
-------------------------------+--------------------------------------------
 Reporter:  wkerzendorf        |       Owner:  somebody
     Type:  defect             |      Status:  new     
 Priority:  normal             |   Milestone:  0.9.1   
Component:  scipy.interpolate  |     Version:  0.9.0   
 Keywords:  griddata           |  
-------------------------------+--------------------------------------------
 There is a problem with scipy.interpolate:

 In [2]: interpolate.griddata([-1.5,-1.0], [5,6],[[-1.12]])
 Out[2]: array([[ 5.76]])

 In [3]: interpolate.griddata([-1.0,-1.5], [5,6],[[-1.12]])
 Out[3]: array([[ nan]])


 It depends on the order of the input values.

 Cheers
     Wolfgang

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


More information about the Scipy-tickets mailing list