Re: [Numpy-discussion] Recognizing a cycle in a vector

2015-11-26 Thread Manolo Martínez
> >> Is there any way to check for cycles in this situation? > > > Fast fourier transform (fft)? > > +1 For using a discrete Fourier transform, as implemented by numpy.fft.fft. > You mentioned that you sample at points which do not correspond with the > period of the signal; this introduces a s

Re: [Numpy-discussion] Recognizing a cycle in a vector

2015-11-26 Thread Daniel Sank
Oops, that leakage document is incomplete. Guess I should finish it up. On Thu, Nov 26, 2015 at 7:18 AM, Manolo Martínez wrote: > Dear all, > > Suppose that I have a vector with the numerical solution of a > differential equation -- more concretely, I am working with evolutionary > game theory m

Re: [Numpy-discussion] Recognizing a cycle in a vector

2015-11-26 Thread Elliot Hallmark
Fast fourier transform (fft)? On Nov 26, 2015 9:21 AM, "Manolo Martínez" wrote: > Dear all, > > Suppose that I have a vector with the numerical solution of a > differential equation -- more concretely, I am working with evolutionary > game theory models, and the solutions are frequencies of types

Re: [Numpy-discussion] New functions added in pull request

2015-11-26 Thread Benjamin Root
Oooh, this will be nice to have. This would be one of the few times I would love to see unicode versions of these function names supplied, too. On Wed, Nov 25, 2015 at 5:31 PM, Antonio Lara wrote: > Hello, I have added three new functions to the file function_base.py in > the numpy/lib folder. T

Re: [Numpy-discussion] ENH: Add the function 'expand_view'

2015-11-26 Thread Benjamin Root
How is this different from using np.newaxis and broadcasting? Or am I misunderstanding this? Ben Root On Tue, Nov 24, 2015 at 9:13 PM, wrote: > > > On Tue, Nov 24, 2015 at 7:13 PM, Nathaniel Smith wrote: > >> On Nov 24, 2015 11:57 AM, "John Kirkham" wrote: >> > >> > Takes an array and tacks o

[Numpy-discussion] Recognizing a cycle in a vector

2015-11-26 Thread Manolo Martínez
Dear all, Suppose that I have a vector with the numerical solution of a differential equation -- more concretely, I am working with evolutionary game theory models, and the solutions are frequencies of types in a population that follows the replicator dynamics; but this is probably irrelevant. So