[Scipy-tickets] [SciPy] #1824: scipy.insterpolate's splrep function fails with certain combinations of knots and number of datapoints

SciPy Trac scipy-tickets@scipy....
Sat Jan 26 11:07:51 CST 2013


#1824: scipy.insterpolate's splrep function fails with certain combinations of
knots and number of datapoints
-------------------------------+--------------------------------------------
 Reporter:  nespinoza          |       Owner:  pv         
     Type:  task               |      Status:  new        
 Priority:  normal             |   Milestone:  Unscheduled
Component:  scipy.interpolate  |     Version:  0.10.1     
 Keywords:                     |  
-------------------------------+--------------------------------------------

Comment(by pv):

 FITPACK requires the knots satisfy the conditions
 {{{
 xb<t(k+2)<t(k+3)<...<t(n-k-1)<xe

 the schoenberg-whitney conditions, i.e. there
 must be a subset of data points xx(j) such that

 t(j) < xx(j) < t(j+k+1), j=1,2,...,n-k-1
 }}}
 Not mentioned on the Python-level docs, although it should be.

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


More information about the Scipy-tickets mailing list