[SciPy-user] using UnivariateSpline
Fri May 22 14:57:14 CDT 2009
On Fri, May 22, 2009 at 14:57, David Warde-Farley <firstname.lastname@example.org> 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 have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-user