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

Nadav Horesh nadavh@visionsense....
Wed Aug 6 11:16:01 CDT 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@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@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3754 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080806/abde9e9a/attachment-0001.bin 


More information about the Numpy-discussion mailing list