[SciPy-user] using UnivariateSpline

David Warde-Farley dwf@cs.toronto....
Fri May 22 15:26:48 CDT 2009

On 22-May-09, at 3:57 PM, Robert Kern wrote:

> On Fri, May 22, 2009 at 14:57, David Warde-Farley  
> <dwf@cs.toronto.edu> wrote:
>> I must be crazy, but how does one actually USE UnivariateSpline, etc.
>> to do interpolation? How do I evaluate the spline at other data after
>> it's fit?
>> There seems to be no "evaluate" method or equivalent to splev.
>    def __call__(self, x, nu=None):
>        """ Evaluate spline (or its nu-th derivative) at positions x.
>        Note: x can be unordered but the evaluation is more efficient
>        if x is (partially) ordered.

I somehow completely missed this. I guess I was skipping over the  
__init__ method because I already understood it. :S

Thanks Robert.


More information about the SciPy-user mailing list