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. -----הודעה מקורית----- מאת: [EMAIL PROTECTED] בשם 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
<<winmail.dat>>
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion