[Scipy-tickets] [SciPy] #1335: scipy.interpolate.bisplrep raises a spurious warning (was: scipy.interpolate.bisplrep)

SciPy Trac scipy-tickets@scipy....
Sun Nov 28 17:28:06 CST 2010


#1335: scipy.interpolate.bisplrep raises a spurious warning
--------------------------------+-------------------------------------------
  Reporter:  Yupiter            |       Owner:  somebody
      Type:  defect             |      Status:  closed  
  Priority:  low                |   Milestone:  0.9.0   
 Component:  scipy.interpolate  |     Version:  0.8.0   
Resolution:  fixed              |    Keywords:  bisplrep
--------------------------------+-------------------------------------------
Changes (by pv):

  * status:  new => closed
  * priority:  highest => low
  * milestone:  => 0.9.0
  * resolution:  => fixed


Old description:

> #m =150, m -number of datapoints; m= len(X)
> tck = interpolate.bisplrep(X,Y,A,s=100000000000)
>
> "nxest, nyest : int, optional
>
>     Over-estimates of the total number of knots. If None then
>     nxest = max(kx+sqrt(m/2),2*kx+3),
>     nyest = max(ky+sqrt(m/2),2*ky+3)."
>
> For big m, those parametr are float and that give the bug.

New description:

 #m =150, m -number of datapoints; m= len(X)
 tck = interpolate.bisplrep(X,Y,A,s=100000000000)

 "nxest, nyest : int, optional

     Over-estimates of the total number of knots. If None then
     nxest = max(kx+sqrt(m/2),2*kx+3),
     nyest = max(ky+sqrt(m/2),2*ky+3)."

 For big m, those parametr are float and that give the bug.

--

Comment:

 The warning is silenced in r6972

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


More information about the Scipy-tickets mailing list