[Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!

2011-09-15 Thread Valery Khamenya
Hi (replying please Cc to me) There is a module micronumpy that appeared at PyPy source tree: https://bitbucket.org/pypy/pypy/src/dfae5033127e/pypy/module/micronumpy/ The great contributions of Justin Peel and Ilya Osadchiy to micronumpy module revive step-by-step the functionality of numpy. It

Re: [Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!

2011-09-15 Thread Peter
On Thu, Sep 15, 2011 at 11:23 AM, Valery Khamenya khame...@gmail.com wrote: Hi (replying please Cc to me) There is a module micronumpy that appeared at PyPy source tree: https://bitbucket.org/pypy/pypy/src/dfae5033127e/pypy/module/micronumpy/ The great contributions of Justin Peel and Ilya 

Re: [Numpy-discussion] Functions for finding the relative extrema of numeric data

2011-09-15 Thread Jacob Silterra
What is your application? The most common case is looking at Fourier transforms and identifying spectral peaks. I've also analyzed images looking at 1D slices (usually very regular data) and looked for peaks there. That stackoverflow page had a nice link to a comparison of different algorithms

Re: [Numpy-discussion] Functions for finding the relative extrema of numeric data

2011-09-15 Thread Jonathan Helmus
I've written some peak picking functions that work in N dimensions for a module for looking at NMR data in python, http://code.google.com/p/nmrglue/. I'd be glad to polish up the code if people think it would be a useful addition to scipy.ndimage or scipy.interpolate? The methods are not

Re: [Numpy-discussion] Functions for finding the relative extrema of numeric data

2011-09-15 Thread Davide
On 09/15/2011 03:32 PM, Jacob Silterra wrote: I'll close this pull request and start working on an implementation of peak finding via continuous wavelet transform (the best and most computationally intensive approach of those described above). Just for information, which tools are you going

Re: [Numpy-discussion] Functions for finding the relative extrema of numeric data

2011-09-15 Thread Samuel John
Hi all, I am not sure if this is of help for anyone. I wrote some code to find the relative maxima in a 1D array for my own purpose. Maybe someone is interested or even finds a bug *g*. I post the code here and appreciate any feedback. Even stop spamming your buggy code :-) from numpy import

Re: [Numpy-discussion] 1.7.x release of NumPy

2011-09-15 Thread Christopher Barker
On 9/14/11 8:32 PM, Travis Oliphant wrote: but my mind is racing around NumPy 3.0 at this point. Travis, could you clarify this point? Do you mean: There are so many ideas my mind is racing around too much to even think about 3.0? or My mind is racing with ideas so much that I want to dive

[Numpy-discussion] [ANN} OpenOpt, FuncDesigner, DerApproximator, SpaceFuncs release 0.36

2011-09-15 Thread Dmitrey
Hi all, new release of our free soft (OpenOpt, FuncDesigner, DerApproximator, SpaceFuncs) v. 0.36 is out: OpenOpt: * Now solver interalg can handle all types of constraints and integration problems * Some minor improvements and code cleanup

Re: [Numpy-discussion] 1.7.x release of NumPy

2011-09-15 Thread Bruce Southey
On 09/15/2011 12:56 AM, Ralf Gommers wrote: On Thu, Sep 15, 2011 at 5:32 AM, Travis Oliphant teoliph...@gmail.com mailto:teoliph...@gmail.com wrote: Hi all, Has there been a discussion of a 1.7.x release of NumPy? There are a few new features that should go into the 1.x

[Numpy-discussion] can't use argmin for array of timedeltas

2011-09-15 Thread Benjamin Root
I encountered something similar back in April or so and that it was fixed. The problem was that the minimum function was implemented as max(0 - a), and so this fails for timedelta objects that can't do this. This was fixed for min(), but apparently not for argmin(). Ben Root

Re: [Numpy-discussion] 1.7.x release of NumPy

2011-09-15 Thread Charles R Harris
On Thu, Sep 15, 2011 at 12:45 PM, Bruce Southey bsout...@gmail.com wrote: ** On 09/15/2011 12:56 AM, Ralf Gommers wrote: On Thu, Sep 15, 2011 at 5:32 AM, Travis Oliphant teoliph...@gmail.comwrote: Hi all, Has there been a discussion of a 1.7.x release of NumPy? There are a few new

Re: [Numpy-discussion] PyPy guys deserve some help on micronumpy from you, numpy gurus!

2011-09-15 Thread Stéfan van der Walt
Hi Valery On Thu, Sep 15, 2011 at 3:23 AM, Valery Khamenya khame...@gmail.com wrote: There is a module micronumpy that appeared at PyPy source tree: https://bitbucket.org/pypy/pypy/src/dfae5033127e/pypy/module/micronumpy/ The great contributions of Justin Peel and Ilya Osadchiy to micronumpy

Re: [Numpy-discussion] can't use argmin for array of timedeltas

2011-09-15 Thread Benjamin Root
On Thu, Sep 15, 2011 at 2:49 PM, Benjamin Root ben.r...@ou.edu wrote: I encountered something similar back in April or so and that it was fixed. The problem was that the minimum function was implemented as max(0 - a), and so this fails for timedelta objects that can't do this. This was fixed