Re: [Numpy-discussion] swig numpy2carray converters

2007-11-25 Thread Bill Spotz
OK, I'm going to try to get to this soon, but I want to discuss the interface some before committing to development. First, my plan is to add to numpy.i, typemaps for signatures like the following: %typemap(argout) (double** ARGOUT_ARRAY1, int* DIM1) It is important to note that even th

Re: [Numpy-discussion] "moving window" in numpy

2007-11-25 Thread Bradford Cross
Hi Matthew, I've been working on "rolling/windowed" libraries for quite a while. I'm currently working on implementations for basic moment and rank statistics - they are pretty much done and I am trying to maneuver them into apache commons math for java. I am also interested in implementing the

[Numpy-discussion] "moving window" in numpy

2007-11-25 Thread Matthew Perry
Hi all, I'm not sure if my terminology is familiar but I'm trying to do a "moving window" analysis (ie a spatial filter or kernel) on a 2-D array representing elevation. For example, a 3x3 window centered on each cell is used to calculate the derivate slope of that cell. Can this easily be impl