Re: [Numpy-discussion] Converting audio data to array for further processing

2008-08-25 Thread David Cournapeau
On Mon, Aug 25, 2008 at 4:25 PM, Dan Colesworthy <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I need an efficient way to convert 24 bit signed audio data to a numpy array > for further processing. The data will be in a .wav file, and can be > recovered via the python wave module. At that point

Re: [Numpy-discussion] Buildbot failure

2008-08-25 Thread Charles R Harris
On Mon, Aug 25, 2008 at 9:16 PM, Alan McIntyre <[EMAIL PROTECTED]>wrote: > In case it hasn't been noted yet, three of the buildbots > (Windows_XP_x86_64_MSVC, Linux_SPARC_64_Debian, > Linux_SPARC_64_Debian_gcc4) are failing to build. The Linux builds > have the error: > > gcc: build/src.linux-spa

[Numpy-discussion] Buildbot failure

2008-08-25 Thread Alan McIntyre
In case it hasn't been noted yet, three of the buildbots (Windows_XP_x86_64_MSVC, Linux_SPARC_64_Debian, Linux_SPARC_64_Debian_gcc4) are failing to build. The Linux builds have the error: gcc: build/src.linux-sparc64-2.4/numpy/core/src/umathmodule.c numpy/core/src/umathmodule.c.src:332: error: st

Re: [Numpy-discussion] subsampling array without loops

2008-08-25 Thread Anne Archibald
2008/8/22 Catherine Moroney <[EMAIL PROTECTED]>: > I'm looking for a way to acccomplish the following task without lots > of loops involved, which are really slowing down my code. > > I have a 128x512 array which I want to break down into 2x2 squares. > Then, for each 2x2 square I want to do some s

[Numpy-discussion] Converting audio data to array for further processing

2008-08-25 Thread Dan Colesworthy
Hello all, I need an efficient way to convert 24 bit signed audio data to a numpy array for further processing. The data will be in a .wav file, and can be recovered via the python wave module. At that point it is a byte string - likely in little endian order. Somewhere in that data will be

Re: [Numpy-discussion] [SciPy08] Documentation BoF

2008-08-25 Thread Sebastien Binet
On Monday 25 August 2008 10:36:03 Travis E. Oliphant wrote: > Pauli Virtanen wrote: > > - I vaguely remember someone mentioned having done numpybook -> RST > > conversion. If so, is the result somewhere available? > > Was something done towards this in the Scipy'08 sprints? > > Yes, Gabriel Gel

Re: [Numpy-discussion] subsampling array without loops

2008-08-25 Thread Zachary Pincus
> This almost works. Is there a way to do some masking on tiles, for > instance taking the maximum height of each 2x2 square that is an > odd number? I've tried playing around with masking and where, but > they don't return an array of the original size and shape of "tiles" > below. Could you p

Re: [Numpy-discussion] subsampling array without loops

2008-08-25 Thread Pierre GM
On Monday 25 August 2008 14:29:49 Catherine Moroney wrote: > This almost works. Is there a way to do some masking on tiles, for > instance taking the maximum height of each 2x2 square that is an > odd number? I've tried playing around with masking and where, but > they don't return an array of t

Re: [Numpy-discussion] subsampling array without loops

2008-08-25 Thread Catherine Moroney
This almost works. Is there a way to do some masking on tiles, for instance taking the maximum height of each 2x2 square that is an odd number? I've tried playing around with masking and where, but they don't return an array of the original size and shape of "tiles" below. Catherine > Perhaps

[Numpy-discussion] Inplace dot and blas access

2008-08-25 Thread Dan Goodman
Hi all, I'm sorry for what is probably a very simple question but despite looking I didn't manage to find anything. I have some code (solving linear differential equation) which is doing the following operation lots of times: S[:] = dot(A,S)+C here S is a (M,N) matrix, A is (M,M) and C is (M,1)

Re: [Numpy-discussion] [SciPy08] Documentation BoF

2008-08-25 Thread Travis E. Oliphant
Pauli Virtanen wrote: > > - I vaguely remember someone mentioned having done numpybook -> RST > conversion. If so, is the result somewhere available? > Was something done towards this in the Scipy'08 sprints? > > Yes, Gabriel Gellner made progress on this during the sprints, and I asked hi

Re: [Numpy-discussion] [SciPy08] Documentation BoF

2008-08-25 Thread Jarrod Millman
On Mon, Aug 25, 2008 at 4:18 AM, Pauli Virtanen <[EMAIL PROTECTED]> wrote: > - I vaguely remember someone mentioned having done numpybook -> RST > conversion. If so, is the result somewhere available? > Was something done towards this in the Scipy'08 sprints? Yes. Gabriel Gellner is working on

Re: [Numpy-discussion] doing zillions of 3x3 determinants fast

2008-08-25 Thread Dan Lenski
On Sun, 24 Aug 2008 23:49:45 -0600, Charles R Harris wrote: > On Sun, Aug 24, 2008 at 9:48 PM, Daniel Lenski <[EMAIL PROTECTED]> > wrote: > >> Hi all, >> I need to take the determinants of a large number of 3x3 matrices, in >> order to determine for each of N points, in which of M tetrahedral >>

Re: [Numpy-discussion] Report from SciPy

2008-08-25 Thread Matthieu Brucher
> As a footnote to this query, has the Scons community > addressed the problem Scons had working with VS 2008 (=VS9)? No. I'm still facing the same issues, but I'll try to help David Cournapeau with his work on that (he is trying to simplify all Visual Studio supports). Matthieu -- French PhD st

Re: [Numpy-discussion] Report from SciPy

2008-08-25 Thread Bruce Southey
Robert Kern wrote: > On Sun, Aug 24, 2008 at 10:58, Bruce Southey <[EMAIL PROTECTED]> wrote: > >> Hi, >> I think this is a great idea but I am curious about what NumPy will be >> doing with Python 3. The Python 3 final is scheduled for 1st October >> release so is there a policy on handling the

Re: [Numpy-discussion] Remove ParametricTestCase from numpy.testing

2008-08-25 Thread Alan McIntyre
On Sun, Aug 24, 2008 at 3:20 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: > On Sun, Aug 24, 2008 at 3:20 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote: >> On Sat, Aug 23, 2008 at 10:23 PM, Alan McIntyre <[EMAIL PROTECTED]> wrote: >>> Actually, it was removed right after the nose framework was worki

Re: [Numpy-discussion] [SciPy08] Documentation BoF

2008-08-25 Thread Pauli Virtanen
Mon, 25 Aug 2008 00:05:06 +0200, Ondrej Certik wrote: > On Fri, Aug 22, 2008 at 10:26 AM, Stéfan van der Walt <[EMAIL PROTECTED]> > wrote: [clip] >> - Path towards getting SciPy documented using the online documentation >> editor >> - Intersphinx: linking Sphinx-using projects - Culture / methodolo