[SciPy-user] Polynomial interpolation

Robert Kern robert.kern@gmail....
Tue Apr 29 16:08:52 CDT 2008


On Tue, Apr 29, 2008 at 3:54 PM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
>  Suppose I want to use the class scipy.interpolate.interp1d, but I
>  don't know how.
>
>  In [18]: scipy.interpolate.interp1d?
>  Type:           type
>  Base Class:     <type 'type'>
>  String Form:    <class 'scipy.interpolate.interpolate.interp1d'>
>
> Namespace:      Interactive
>  File:
>  /usr/lib/python2.4/site-packages/scipy/interpolate/interpolate.py
>  Docstring:
>     Interpolate a 1D function.
>
>     See Also
>     --------
>     splrep, splev - spline interpolation based on FITPACK
>     UnivariateSpline - a more recent wrapper of the FITPACK routines
>
>
>  Uh, great, but how do I actually *use* it?

Well, the version of IPython I have does include the constructor's
information when you do "interp1d?". So does help().

-- 
Robert Kern

"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 mailing list