On Dec 7, 2007, at 1:15 AM, Fernando Perez wrote:
> > You might want to have a look at the scipy sandbox. There's both a > multigrid and a spline package in there, in need of love and care. In > addition, the scipy.interpolate package (not in the sandbox, but in > the mainline) has had a FITPACK interface for basic splines for a long > time: > > """ > Interpolation Tools > =================== > > Wrappers around FITPACK functions: > > splrep -- find smoothing spline given (x,y) points on curve. > splprep -- find smoothing spline given parametrically > defined curve. > splev -- evaluate the spline or its derivatives. > splint -- compute definite integral of a spline. > sproot -- find the roots of a cubic spline. > spalde -- compute all derivatives of a spline at given > points. > bisplrep -- find bivariate smoothing spline representation. > bisplev -- evaluate bivariate smoothing spline. > > UnivariateSpline -- A more recent, object- > oriented wrapper; > finds a (possibly smoothed) > interpolating > spline. > InterpolatedUnivariateSpline > LSQUnivariateSpline > BivariateSpline -- A more recent, object- > oriented wrapper; > finds a interpolating spline > for a > bivariate function. > """ > > I have no idea of the state of spline/multigrid in the sandbox, but > they'd certainly be welcome contributions, and you'd probably find > others interested in helping in the scipy lists. > Thanks, I hadn't looked at that before. Unfortunately, it seems to do what a lot of the spline packages do which is hide the details. The names certainly seem to be the same as the SLATEC code and the spline toolbox, but it is missing a number of functions, especially those which work with the spline bases rather than the splines. There are also other fitting possibilities as deBoor describes in his book. Tim. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---