[Numpy-discussion] cubic spline function in numarray or numpy

Nadav Horesh nadavh at visionsense.com
Wed Aug 6 12:16:01 EDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3754 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080806/abde9e9a/attachment.bin>


More information about the NumPy-Discussion mailing list