[SciPy-user] Arrayfns in numpy?

Stephen Kelly steveire@gmail....
Tue Mar 6 10:25:13 CST 2007

I'm missing arrayfns.interp. It would be a shame to have to depend on either
Numeric or Scipy for such a trivial but useful function. I'll see about
implementing something like it myself. I have the module source code, but
installing C modules in python is a little beyond what I know how to do with

Thanks for the UserArray info.

Kind regards,


On 3/6/07, Travis Oliphant <oliphant@ee.byu.edu> wrote:
> Stephen Kelly wrote:
> > Hi,
> >
> > Thanks for the reply.
> >
> > I don't want to depend on scipy for a small task like this. I want to
> > keep dependencies small.
> >
> > I looked at the searchsorted function, but don't see how it would be
> > useful. My data is not regularly spaced. It is X-ray diffraction data
> > in which each intensity has been shifted slightly. I am currently
> > using arrayfns from Numeric to get data with regular spacing. Could
> > you give more information on how to interpolate the data? I don't know
> > where to start.
> >
> > As an aside, here's some things in Numeric that aren't in numpy. Is
> > this oversight, or are there no plans to implement them?
> > 1. arrayfns module
> > 2. UserArray module with UserArray class (comparible to UserDict,
> > UserList).
> >
> The UserArray module is there (it is imported when you import numpy as
> numpy.lib.user_array)
> The UserArray class is called numpy.lib.user_array.container
> The arrayfns module was not an oversight.  Some of the arrayfns module
> has been implemented except for functions that belong in SciPy.
> The trend has been to move more things out of NumPy and make SciPy more
> modular so that pieces can be installed separately.
> There will always be people who want something moved into NumPy.  It is
> hard to know where to stop.
> Which function in arrayfns are you missing?
> -Travis
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20070306/3b646f87/attachment.html 

More information about the SciPy-user mailing list