[Numpy-discussion] cubic spline function in numarray or numpy
Gong, Shawn (Contractor)
Shawn.Gong at drdc-rddc.gc.ca
Wed Aug 6 12:25:30 EDT 2008
Thank you both, Nadav and Zach.
Shawn
-----Original Message-----
From: numpy-discussion-bounces at scipy.org [mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Nadav Horesh
Sent: Wednesday, August 06, 2008 12:16 PM
To: Discussion of Numerical Python
Subject: RE: [Numpy-discussion] cubic spline function in numarray or numpy
You can access nd_image by:
from numpy.numarray import nd_image
but as Zach noted, scipy.interpolate is what you are looking for.
Nadav.
-----הודעה מקורית-----
מאת: numpy-discussion-bounces at scipy.org בשם Zachary Pincus
נשלח: ד 06-אוגוסט-08 19:09
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] cubic spline function in numarray or numpy
Hi Shawn,
> I am trying to find 1-D cubic spline function. But I am not able to
> call it. Error message can’t find “ndimage”
>
Numpy provides tools for creating and dealing with multidimensional
arrays and some basic FFT and linear algebra functions. You want to
look at scipy, a set of packages built on numpy that provide more
sophisticated domain-specific functionality. Specifically, ndimage is
part of *scipy*, not numpy.
Zach
On Aug 6, 2008, at 11:46 AM, Gong, Shawn (Contractor) wrote:
> hi list,
>
> I am trying to find 1-D cubic spline function. But I am not able to
> call it. Error message can’t find “ndimage”
>
> Would someone point me to 1-D cubic spline functions either in
> numarray or numpy? and their help pages?
>
>
> I use python 2.3.5 and numpy 1.0.1. Are they too old to use cubic
> spline?
>
>
> thanks,
>
> Shawn
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list