Re: [Numpy-discussion] Numpy governance update

2012-02-16 Thread Bruce Southey
On 02/16/2012 08:06 AM, Scott Sinclair wrote: > On 16 February 2012 15:08, Thomas Kluyver wrote: >> It strikes me that the effort everyone's put into this thread could >> have by now designed some way to resolve disputes. ;-) > This is not intended to downplay the concerns raised in this thread, >

Re: [Numpy-discussion] Numpy governance update

2012-02-15 Thread Bruce Southey
On Wed, Feb 15, 2012 at 6:57 PM, wrote: > On Wed, Feb 15, 2012 at 7:27 PM, Dag Sverre Seljebotn > wrote: >> On 02/15/2012 02:24 PM, Mark Wiebe wrote: >>> On Wed, Feb 15, 2012 at 1:36 PM, Matthew Brett >> > wrote: >>> >>>     Hi, >>> >>>     On Wed, Feb 15, 2012 at

Re: [Numpy-discussion] Release management (was: Updated differences between 1.5.1 to 1.6.1)

2012-02-14 Thread Bruce Southey
On Tue, Feb 14, 2012 at 2:24 PM, Ralf Gommers wrote: > > > On Tue, Feb 14, 2012 at 7:25 PM, Travis Oliphant > wrote: >> >> >> On Feb 14, 2012, at 3:32 AM, David Cournapeau wrote: >> >> > Hi Travis, >> > >> > It is great that some resources can be spent to have people paid to >> > work on NumPy. T

Re: [Numpy-discussion] Numpy governance update - was: Updated differences between 1.5.1 to 1.6.1

2012-02-14 Thread Bruce Southey
On Tue, Feb 14, 2012 at 6:43 PM, Matthew Brett wrote: > Hi, > > On Tue, Feb 14, 2012 at 3:58 PM, Travis Oliphant wrote: When we selected the name NumFOCUS just a few weeks ago, we created the list for numfocus and then I signed everyone up for that list who was on the ot

Re: [Numpy-discussion] Numpy 1.6.1 installation problem

2012-02-14 Thread Bruce Southey
On 02/14/2012 09:40 AM, Olivier Delalleau wrote: Really not an expert here, but it looks like it's trying various compilation options, some work and some don't, and for some reason it's really unhappy about the one where it can't find Python.h. Maybe add /usr/include/python2.6 to your CPATH, see

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Bruce Southey
On Sat, Feb 4, 2012 at 6:07 PM, Charles R Harris wrote: > > > On Sat, Feb 4, 2012 at 3:03 PM, Travis Oliphant wrote: >> >> We are spending a lot of time on NumPy and will be for the next few >> months.  I think that 1.8 will be a better long term release.  We need a few >> more fundamental featur

Re: [Numpy-discussion] Heads up and macro deprecation.

2012-02-02 Thread Bruce Southey
On 02/01/2012 02:53 PM, Charles R Harris wrote: Hi All, Two things here. 1) Some macros for threading and the iterator now require a trailing semicolon. This change will be reverted before the 1.7 release so that scipy 0.10 will compile, but because it is desirable in the long term it would

Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-02 Thread Bruce Southey
On 02/02/2012 02:52 AM, martin großhauser wrote: > On Wed, Feb 1, 2012 at 10:57 PM, Pierre Haessig > wrote: >> I've no idea what's going on, but here is my $0.02 contribution. I >> reproduced the bug (numpy 1.5.1) with a rather minimal script. See attached. > I reproduced the issue with Pierre's

Re: [Numpy-discussion] Cross-covariance function

2012-01-27 Thread Bruce Southey
On 01/27/2012 09:00 AM, Benjamin Root wrote: On Friday, January 27, 2012, Pierre Haessig > wrote: > Le 26/01/2012 19:19, josef.p...@gmail.com a écrit : >> The discussion had this reversed, numpy matches the behavior of >> MATLAB,

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 6:43 PM, wrote: > On Thu, Jan 26, 2012 at 3:58 PM, Bruce Southey wrote: >> On Thu, Jan 26, 2012 at 12:45 PM,   wrote: >>> On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: >>>> On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig >>

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 12:45 PM, wrote: > On Thu, Jan 26, 2012 at 1:25 PM, Bruce Southey wrote: >> On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig >> wrote: >>> Le 26/01/2012 15:57, Bruce Southey a écrit : >>>> Can you please provide a >>>> c

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 10:07 AM, Pierre Haessig wrote: > Le 26/01/2012 15:57, Bruce Southey a écrit : >> Can you please provide a >> couple of real examples with expected output that clearly show what >> you want? >> > Hi Bruce, > > Thanks for your ticket fee

Re: [Numpy-discussion] Cross-covariance function

2012-01-26 Thread Bruce Southey
On Thu, Jan 26, 2012 at 7:19 AM, Pierre Haessig wrote: > Le 22/01/2012 01:40, josef.p...@gmail.com a écrit : >> same here, >> When I rewrote scipy.stats.spearmanr, I matched the numpy behavior for >> two arrays, while R only returns the cross-correlation part. > Since I've seen no negative feedbac

Re: [Numpy-discussion] bug in numpy.mean() ?

2012-01-24 Thread Bruce Southey
On 01/24/2012 12:33 PM, K.-Michael Aye wrote: > I know I know, that's pretty outrageous to even suggest, but please > bear with me, I am stumped as you may be: > > 2-D data file here: > http://dl.dropbox.com/u/139035/data.npy > > Then: > In [3]: data.mean() > Out[3]: 3067.024383998 > > In [4]:

Re: [Numpy-discussion] Fix for ticket #1973

2012-01-16 Thread Bruce Southey
On 01/14/2012 04:31 PM, Charles R Harris wrote: I've put up a pull request for a fix to ticket #1973. Currently the fix simply propagates the maskna flag when the *.astype method is called. A more complicated option would be to add a maskna keyword to specify whether the output is masked or not

Re: [Numpy-discussion] numpy 1.7.0 release?

2012-01-06 Thread Bruce Southey
On Fri, Jan 6, 2012 at 9:15 AM, Ralf Gommers wrote: > > > On Tue, Dec 20, 2011 at 9:28 PM, Ralf Gommers > wrote: >> >> >> >> On Tue, Dec 20, 2011 at 3:18 PM, Charles R Harris >> wrote: >>> >>> Hi Ralf, >>> >>> On Mon, Dec 5, 2011 at 12:43 PM, Ralf Gommers >>> wrote: Hi all,

Re: [Numpy-discussion] Fast Reading of ASCII files

2011-12-14 Thread Bruce Southey
On 12/14/2011 01:03 AM, Chris Barker wrote: On Tue, Dec 13, 2011 at 1:21 PM, Ralf Gommers mailto:ralf.gomm...@googlemail.com>> wrote: genfromtxt sure looks close for an API This I don't agree with. It has a huge amount of keywords that just confuse or intimidate a beginnin

Re: [Numpy-discussion] Fast Reading of ASCII files

2011-12-13 Thread Bruce Southey
On 12/13/2011 12:08 PM, Chris Barker wrote: NOTE: Let's keep this on the list. On Tue, Dec 13, 2011 at 9:19 AM, denis > wrote: Chris, unified, consistent save / load is a nice goal 1) header lines with date, pwd etc.: "where'd this come from ?"

Re: [Numpy-discussion] NumPy Governance

2011-12-10 Thread Bruce Southey
On Mon, Dec 5, 2011 at 11:32 PM, Matthew Brett wrote: > Hi, > > 2011/12/5 Stéfan van der Walt : >> As for barriers to entry, improving the the nature of discourse on the >> mailing list (when it comes to thorny issues) would be good. >> Technical barriers are not that hard to breach for our commun

Re: [Numpy-discussion] numpy 1.7.0 release?

2011-12-07 Thread Bruce Southey
On Tue, Dec 6, 2011 at 4:13 PM, Wes McKinney wrote: > On Tue, Dec 6, 2011 at 4:11 PM, Ralf Gommers > wrote: >> >> >> On Mon, Dec 5, 2011 at 8:43 PM, Ralf Gommers >> wrote: >>> >>> Hi all, >>> >>> It's been a little over 6 months since the release of 1.6.0 and the NA >>> debate has quieted down,

[Numpy-discussion] astype does not work with NA object

2011-12-05 Thread Bruce Southey
Hi, I mistakenly filed ticket 1973 "Can not display a masked array containing np.NA values even if masked" (http://projects.scipy.org/numpy/ticket/1973) against masked array because that was where I found it. But the actual error is that the astype function does not handle the NA object: $ pyt

Re: [Numpy-discussion] NumPy Governance

2011-12-05 Thread Bruce Southey
On 12/05/2011 06:22 AM, Perry Greenfield wrote: > I'm not sure I'm crazy about leaving final decision making for a > board. A board may be a good way of carefully considering the issues, > and it could make it's own recommendation (with a sufficient > majority). But in the end I think one person ne

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Bruce Southey
On Tue, Nov 15, 2011 at 11:57 AM, Robert Kern wrote: > On Tue, Nov 15, 2011 at 16:55, Gael Varoquaux > wrote: >> On Tue, Nov 15, 2011 at 05:46:52PM +0100, Andreas Müller wrote: >>>    My question was more along the lines of "why doesn't numpy do the online >>>    algorithm". >> >> It's probably a

Re: [Numpy-discussion] Memory hungry reduce ops in Numpy

2011-11-15 Thread Bruce Southey
On 11/14/2011 10:05 AM, Andreas Müller wrote: On 11/14/2011 04:23 PM, David Cournapeau wrote: On Mon, Nov 14, 2011 at 12:46 PM, Andreas Müller wrote: Hi everybody. When I did some normalization using numpy, I noticed that numpy.std uses more ram than I was expecting. A quick google search ga

Re: [Numpy-discussion] numpy with nose

2011-11-03 Thread Bruce Southey
On 11/03/2011 04:27 AM, akshar bhosale wrote: > Hi, > i am using mkl 10.1, intel cluster toolkit 11/069, os rhel 5.2 x86_64, > python 2.6, processor is intel xeon > > numpy version is 1.6.0 > > my numpy.test hanging at below point : > Test whether equivalent subarray dtypes hash the same. ... ok >

Re: [Numpy-discussion] Fwd: Fwd: numpy error with mkl 10.1

2011-11-03 Thread Bruce Southey
On Wed, Nov 2, 2011 at 10:33 PM, akshar bhosale wrote: > any other means of getting it fixed? > > -- Forwarded message -- > From: Olivier Delalleau > Date: Thu, Nov 3, 2011 at 8:58 AM > Subject: Re: [Numpy-discussion] Fwd: numpy error with mkl 10.1 > To: Discussion of Numerical Py

Re: [Numpy-discussion] problem in running test(nose) with numpy/scipy

2011-10-31 Thread Bruce Southey
On 10/31/2011 08:31 AM, Olivier Delalleau wrote: If you google around "einsum hang", it looks like this is a problem with Intel compiler with the -O3 flag. See this thread in particular: http://comments.gmane.org/gmane.comp.python.numeric.general/43168 It looks like there may be more issues too

Re: [Numpy-discussion] np.ma.mean is not working?

2011-10-18 Thread Bruce Southey
On 10/18/2011 09:12 AM, Chao YUE wrote: thanks. Olivier. I see. Chao 2011/10/18 Olivier Delalleau mailto:sh...@keba.be>> As far as I can tell ma.mean() is working as expected here: it computes the mean only over non-masked values. If you want to get rid of any mean that was compute

Re: [Numpy-discussion] NumPy foundations

2011-10-13 Thread Bruce Southey
On 10/13/2011 10:53 AM, Chris.Barker wrote: > On 10/13/11 6:03 AM, Linus Jundén wrote: >> I am about to make a NumPy presentation for my colleges in about a >> week. I want to tell them something about the history of the library >> and what kind of code it relies on. >> Is NumPy based on some exter

Re: [Numpy-discussion] speeding up operations on small vectors

2011-10-11 Thread Bruce Southey
On 10/11/2011 12:06 PM, Skipper Seabold wrote: > On Tue, Oct 11, 2011 at 12:41 PM, Christoph Groth wrote: >> Skipper Seabold writes: >> >>> So it's the dot function being called repeatedly on smallish arrays >>> that's the bottleneck? I've run into this as well. See this thread >>> [1]. >>> (...)

Re: [Numpy-discussion] Debug memory block at address p=0x2ba5928: API 'm'

2011-09-22 Thread Bruce Southey
On 09/22/2011 02:44 PM, Sandro Tosi wrote: > Hello, > I'm running tests for numpy 1.6.1 on 2.7 -dbg flavor and I got this: > > .Debug memory block at address p=0x2ba5928: API 'm' > 8 bytes originally requested > The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected

Re: [Numpy-discussion] Bug in numpy std, etc. with other data structures?

2011-09-17 Thread Bruce Southey
On Sat, Sep 17, 2011 at 10:00 PM, Wes McKinney wrote: > On Sat, Sep 17, 2011 at 10:50 PM, Bruce Southey wrote: >> On Sat, Sep 17, 2011 at 4:12 PM, Wes McKinney wrote: >>> On Sat, Sep 17, 2011 at 4:48 PM, Skipper Seabold >>> wrote: >>>> Just ran into th

Re: [Numpy-discussion] Bug in numpy std, etc. with other data structures?

2011-09-17 Thread Bruce Southey
On Sat, Sep 17, 2011 at 4:12 PM, Wes McKinney wrote: > On Sat, Sep 17, 2011 at 4:48 PM, Skipper Seabold wrote: >> Just ran into this. Any objections for having numpy.std and other >> functions in core/fromnumeric.py call asanyarray before trying to use >> the array's method? Other data structures

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 > 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 release of NumPy, t

Re: [Numpy-discussion] iterate over multiple arrays

2011-09-13 Thread Bruce Southey
On 09/13/2011 01:53 AM, David Froger wrote: > Thank you Olivier and Robert for your replies! > > Some remarks about the dictionnary solution: > > from numpy import * > > def f(arr): > return arr + 100. > > arrs = {} > arrs['a'] = array( [1,1,1] ) > arrs['b'] = array( [2,2,2] ) > arrs['c'] = a

Re: [Numpy-discussion] Question on LinAlg Inverse Algorithm

2011-08-31 Thread Bruce Southey
On 08/31/2011 12:56 PM, Mark Janikas wrote: > Right indeed... I have spent a lot of time looking at this and it seems a > waste of time as the results are garbage anyways when the columns are > collinear. I am just going to set a threshold, check the condition number, > continue is satisfied, r

Re: [Numpy-discussion] numpy-1.6.1.win32-py3.2.exe (md5) won't install

2011-08-30 Thread Bruce Southey
On Tue, Aug 30, 2011 at 8:56 AM, Richard D. Moores wrote: > On Tue, Aug 30, 2011 at 06:53, Charles R Harris > wrote: >> >> >> On Tue, Aug 30, 2011 at 7:47 AM, Richard D. Moores >> wrote: >>> >>> Python 3.2, 64-bit Win 7 >>> >>> When I try to install numpy-1.6.1.win32-py3.2.exe (md5) I get "Pytho

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On Fri, Aug 19, 2011 at 3:05 PM, Mark Wiebe wrote: > On Fri, Aug 19, 2011 at 11:44 AM, Charles R Harris > wrote: >> >> >> On Fri, Aug 19, 2011 at 12:37 PM, Bruce Southey >> wrote: >>> >>> Hi, >>> Just some immediate minor observations tha

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
Hi, Just some immediate minor observations that are really about trying to be consistent: 1) Could you keep the display of the NA dtype be the same as the array? For example, NA dtype is displayed as '>> a=np.array([[1,2,3,np.NA], [3,4,np.nan,5]]) >>> a array([[ 1., 2., 3., NA], [ 3.,

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On Fri, Aug 19, 2011 at 10:27 AM, Ralf Gommers wrote: > > > On Fri, Aug 19, 2011 at 5:23 PM, Bruce Southey wrote: >> >> On 08/19/2011 10:04 AM, Ralf Gommers wrote: >> >> On Fri, Aug 19, 2011 at 4:55 PM, Bruce Southey wrote: >>> >>> Hi, >

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On Fri, Aug 19, 2011 at 10:48 AM, Mark Wiebe wrote: > On Fri, Aug 19, 2011 at 7:15 AM, Bruce Southey wrote: >> >> On 08/18/2011 04:43 PM, Mark Wiebe wrote: >> >> It's taken a lot of changes to get the NA mask support to its current >> point, but the code re

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On 08/19/2011 10:04 AM, Ralf Gommers wrote: On Fri, Aug 19, 2011 at 4:55 PM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: Hi, I had to rebuild my Python2.6 as a 'normal' version. Anyhow, Python2.4, 2.5, 2.6 and 2.7 all build and pass the numpy te

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On 08/18/2011 04:43 PM, Mark Wiebe wrote: It's taken a lot of changes to get the NA mask support to its current point, but the code ready for some testing now. You can read the work-in-progress release notes here: https://github.com/m-paradox/numpy/blob/missingdata/doc/release/2.0.0-notes.rst

Re: [Numpy-discussion] NA masks for NumPy are ready to test

2011-08-19 Thread Bruce Southey
On 08/18/2011 04:43 PM, Mark Wiebe wrote: It's taken a lot of changes to get the NA mask support to its current point, but the code ready for some testing now. You can read the work-in-progress release notes here: https://github.com/m-paradox/numpy/blob/missingdata/doc/release/2.0.0-notes.rst

Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Bruce Southey
On 08/02/2011 11:14 AM, Thomas Markovich wrote: I just have the default "apple" version of python that comes with Snow Leopard (Python 2.6.1 (r261:67515, Aug 2 2010, 20:10:18)) and python 2.7 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed. Should I just remove 2.7 and

Re: [Numpy-discussion] hold parameters

2011-08-02 Thread Bruce Southey
On 08/01/2011 07:43 PM, Bevan Jenkins wrote: > Hello, > > I have a function that I fitting to a curve via scipy.optimize.leastsq. The > function has 4 parameters and this is all working fine. > > For a site, I have a number of curves (n=10 in the example below). I would > like to some of the para

Re: [Numpy-discussion] Error building numpy (1.5.1 and 1.6.1rc3) with python2.7 debug

2011-07-16 Thread Bruce Southey
On Sat, Jul 16, 2011 at 4:34 AM, Sandro Tosi wrote: > Hello, > while preparing a test upload for 1.6.1rc3 in Debian, I noticed that > it gets an error when building blas with python 2.7 in the debug > flavor, the build log is at [1]. It's also been confirmed it fails > also with 1.5.1 [2] > > [1]

Re: [Numpy-discussion] Fwd: [Enthought-Dev] Linking issues with libX11.so

2011-07-15 Thread Bruce Southey
On 07/15/2011 01:55 AM, Ralf Gommers wrote: On Wed, Jul 13, 2011 at 11:10 PM, Ilan Schnell > wrote: Hello List, Varun, who is a debian packager ran into some problems while compiling Enable, as it uses numpy.distutils, which did not locate the l

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-15 Thread Bruce Southey
On 07/15/2011 03:13 AM, Ralf Gommers wrote: On Fri, Jul 8, 2011 at 4:17 PM, Derek Homeier > wrote: On 07.07.2011, at 7:16PM, Robert Pyle wrote: > .../Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pac

Re: [Numpy-discussion] Missing Values Discussion

2011-07-11 Thread Bruce Southey
On 07/11/2011 08:08 AM, Matthew Brett wrote: > Hi, > > On Mon, Jul 11, 2011 at 3:52 AM, Bruce Southey wrote: >> On Fri, Jul 8, 2011 at 4:35 PM, Matthew Brett >> wrote: >>> Hi, >>> >>> On Fri, Jul 8, 2011 at 8:34 PM, Bruce Southey wrote: >

Re: [Numpy-discussion] Missing Values Discussion

2011-07-10 Thread Bruce Southey
On Fri, Jul 8, 2011 at 4:35 PM, Matthew Brett wrote: > Hi, > > On Fri, Jul 8, 2011 at 8:34 PM, Bruce Southey wrote: >> On Fri, Jul 8, 2011 at 12:55 PM, Matthew Brett >> wrote: >>> Hi, >>> >>> On Fri, Jul 8, 2011 at 6:38 PM, Bruce Southey wrote:

Re: [Numpy-discussion] gist gist: 1068264

2011-07-10 Thread Bruce Southey
On Fri, Jul 8, 2011 at 5:04 PM, Nathaniel Smith wrote: > Hi Bruce, > > I'm replying on the list instead of on github, to make it easier for > others to join in the discussion if they want. [For those joining in: > this was a comment posted at https://gist.github.com/1068264 ] > > On Fri, Jul 8, 20

Re: [Numpy-discussion] Missing Values Discussion

2011-07-08 Thread Bruce Southey
On Fri, Jul 8, 2011 at 12:55 PM, Matthew Brett wrote: > Hi, > > On Fri, Jul 8, 2011 at 6:38 PM, Bruce Southey wrote: >> On 07/08/2011 08:58 AM, Matthew Brett wrote: >>> Hi, >>> >>> Just checking - but is this: >>> >>> On Fri, Jul 8,

Re: [Numpy-discussion] Missing Values Discussion

2011-07-08 Thread Bruce Southey
On 07/08/2011 08:58 AM, Matthew Brett wrote: > Hi, > > Just checking - but is this: > > On Fri, Jul 8, 2011 at 2:22 PM, Bruce Southey wrote: > ... >> The one thing that we do need now is the code that implements the small >> set of core ideas (array creation a

Re: [Numpy-discussion] Missing Values Discussion

2011-07-08 Thread Bruce Southey
On 07/08/2011 07:15 AM, Matthew Brett wrote: > Hi Travis, > > On Fri, Jul 8, 2011 at 5:03 AM, Travis Oliphant > wrote: >> Hi all, >> >> I want to first apologize for stepping into this discussion a bit late and >> for not being able to participate adequately. However, I want to offer a >> cou

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-07 Thread Bruce Southey
On 07/07/2011 11:18 AM, Mark Wiebe wrote: On Thu, Jul 7, 2011 at 11:11 AM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: On 07/07/2011 10:06 AM, Mark Wiebe wrote: On Thu, Jul 7, 2011 at 9:56 AM, Bruce Southey mailto:bsout...@gmail.com>> wrote: On Wed, Jul

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-07 Thread Bruce Southey
On 07/07/2011 10:06 AM, Mark Wiebe wrote: On Thu, Jul 7, 2011 at 9:56 AM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: On Wed, Jul 6, 2011 at 1:56 PM, Christoph Gohlke mailto:cgoh...@uci.edu>> wrote: > > > On 7/6/2011 10:57 AM, Russell E. Owen

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-07 Thread Bruce Southey
On Wed, Jul 6, 2011 at 1:56 PM, Christoph Gohlke wrote: > > > On 7/6/2011 10:57 AM, Russell E. Owen wrote: >> In article >> , >>   Ralf Gommers  wrote: >> >>> On Tue, Jul 5, 2011 at 11:41 PM, Russell E. Owen  wrote: >>> In article,   Ralf Gommers  wrote: > https://sourceforge.ne

Re: [Numpy-discussion] Compiling 2.0.0.dev-3071eab version on Red-Hat Error with -lf77blas

2011-07-07 Thread Bruce Southey
On 07/07/2011 05:23 AM, Jeffrey Spencer wrote: > The error is below: > > creating build/temp.linux-x86_64-2.6/numpy/core/blasdot > compile options: '-DATLAS_INFO="\"None\"" -Inumpy/core/blasdot > -Inumpy/core/include > -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy > -Inumpy/core/src/private

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-07 Thread Bruce Southey
On 07/01/2011 04:46 PM, Ralf Gommers wrote: Hi, I am pleased to announce the availability (only a little later than planned) of the second release candidate of NumPy 1.6.1. This is a bugfix release, list of fixed bugs: #1834 einsum fails for specific shapes #1837 einsum throws nan or free

Re: [Numpy-discussion] NA/Missing Data Conference Call Summary

2011-07-06 Thread Bruce Southey
On 07/06/2011 03:37 PM, Pierre GM wrote: > On Jul 6, 2011, at 10:11 PM, Bruce Southey wrote: > >> On 07/06/2011 02:38 PM, Christopher Jordan-Squire wrote: >>> >>> On Wed, Jul 6, 2011 at 11:38 AM, Christopher Barker >>> wrote: >>> Christopher Jordan

Re: [Numpy-discussion] NA/Missing Data Conference Call Summary

2011-07-06 Thread Bruce Southey
On 07/06/2011 02:38 PM, Christopher Jordan-Squire wrote: On Wed, Jul 6, 2011 at 11:38 AM, Christopher Barker mailto:chris.bar...@noaa.gov>> wrote: Christopher Jordan-Squire wrote: > If we follow those rules for IGNORE for all computations, we sometimes > get some weird output

Re: [Numpy-discussion] alterNEP - was: missing data discussion round 2

2011-07-01 Thread Bruce Southey
On 07/01/2011 10:15 AM, Nathaniel Smith wrote: > On Fri, Jul 1, 2011 at 7:09 AM, Mark Wiebe wrote: >> On Fri, Jul 1, 2011 at 6:58 AM, Matthew Brett >> wrote: >>> Do you see problems with the alterNEP proposal? >> Yes, I really like my design as it stands now, and the alterNEP removes a >> lot of t

Re: [Numpy-discussion] missing data discussion round 2

2011-06-29 Thread Bruce Southey
On 06/29/2011 01:07 PM, Dag Sverre Seljebotn wrote: > On 06/29/2011 07:38 PM, Mark Wiebe wrote: >> On Wed, Jun 29, 2011 at 9:35 AM, Dag Sverre Seljebotn >> mailto:d.s.seljeb...@astro.uio.no>> wrote: >> >> On 06/29/2011 03:45 PM, Matthew Brett wrote: >> > Hi, >> > >> > On W

Re: [Numpy-discussion] feedback request: proposal to add masks to the core ndarray

2011-06-24 Thread Bruce Southey
On 06/24/2011 09:06 AM, Robert Kern wrote: On Fri, Jun 24, 2011 at 07:30, Laurent Gautier wrote: On 2011-06-24 13:59, Nathaniel Smith wrote: On Thu, Jun 23, 2011 at 5:56 PM, Benjamin Rootwrote: Lastly, I am not entirely familiar with R, so I am also very curious about what this magical

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-21 Thread Bruce Southey
On Tue, Jun 21, 2011 at 3:52 PM, Ralf Gommers wrote: > > > On Tue, Jun 21, 2011 at 10:05 PM, Ralf Gommers > wrote: >> >> >> On Tue, Jun 21, 2011 at 4:38 PM, Bruce Southey wrote: >>> >>> On 06/21/2011 01:01 AM, Ralf Gommers wrote: >>> >

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-21 Thread Bruce Southey
On 06/21/2011 01:01 AM, Ralf Gommers wrote: On Tue, Jun 21, 2011 at 3:55 AM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: On Mon, Jun 20, 2011 at 2:43 PM, Ralf Gommers mailto:ralf.gomm...@googlemail.com>> wrote: > > > On Mon, Jun 20

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-20 Thread Bruce Southey
On Mon, Jun 20, 2011 at 2:43 PM, Ralf Gommers wrote: > > > On Mon, Jun 20, 2011 at 8:50 PM, Bruce Southey wrote: >> >> I copied the files but that just moves the problem. So that patch is >> incorrect. >> >> I get the same errors on Fedora 15 supplied Pyt

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-20 Thread Bruce Southey
On 06/19/2011 05:21 AM, Ralf Gommers wrote: On Tue, Jun 14, 2011 at 5:28 AM, Bruce Southey mailto:bsout...@gmail.com>> wrote: On Mon, Jun 13, 2011 at 8:31 PM, Pauli Virtanen mailto:p...@iki.fi>> wrote: > On Mon, 13 Jun 2011 11:08:18 -0500, Bruce Southey wrote: [clip] >

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-20 Thread Bruce Southey
On 06/19/2011 05:21 AM, Ralf Gommers wrote: On Tue, Jun 14, 2011 at 5:28 AM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: On Mon, Jun 13, 2011 at 8:31 PM, Pauli Virtanen mailto:p...@iki.fi>> wrote: > On Mon, 13 Jun 2011 11:08:18 -0500, Bruce Southey

Re: [Numpy-discussion] get a dtypes' range?

2011-06-17 Thread Bruce Southey
On 06/17/2011 12:38 PM, Christopher Barker wrote: > Hi all, > > I'm wondering if there is a way to get the range of values a given dtype > can hold? > > essentially, I'm looking for something like sys.maxint, for for whatever > numpy dtype I have n hand (and eps for floating point types). > > I was

Re: [Numpy-discussion] genfromtxt converter question

2011-06-17 Thread Bruce Southey
On 06/17/2011 08:51 AM, Olivier Delalleau wrote: 2011/6/17 Bruce Southey mailto:bsout...@gmail.com>> On 06/17/2011 08:22 AM, gary ruben wrote: > Thanks Olivier, > Your suggestion gets me a little closer to what I want, but doesn't > quite work. Replacing

Re: [Numpy-discussion] genfromtxt converter question

2011-06-17 Thread Bruce Southey
On 06/17/2011 08:22 AM, gary ruben wrote: > Thanks Olivier, > Your suggestion gets me a little closer to what I want, but doesn't > quite work. Replacing the conversion with > > c = lambda x:np.cast[np.complex64](complex(*eval(x))) > b = np.genfromtxt(a,converters={0:c, 1:c, 2:c, > 3:c},dtype=None,

Re: [Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

2011-06-16 Thread Bruce Southey
On 06/16/2011 02:05 PM, Brandt Belson wrote: Hi all, Thanks for the replies. As mentioned, I'm parallelizing so that I can take many inner products simultaneously (which I agree is embarrassingly parallel). The library I'm writing asks the user to supply a function that takes two objects and r

Re: [Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

2011-06-16 Thread Bruce Southey
On 06/16/2011 11:44 AM, Christopher Barker wrote: NOTE: I'm only taking part in this discussion because it's interesting and I hope to learn something. I do hope the OP chimes back in to clarify his needs, but in the meantime... Bruce Southey wrote: Remember that is what the OP

Re: [Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

2011-06-16 Thread Bruce Southey
On 06/16/2011 09:30 AM, Sturla Molden wrote: > Den 16.06.2011 16:16, skrev Bruce Southey: >> The idea was to calculate: >> innerProduct =numpy.sum(array1*array2) where array1 and array2 are, in >> general, multidimensional. > If you want to do that in parallel, fast an wit

Re: [Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

2011-06-16 Thread Bruce Southey
On 06/15/2011 07:25 PM, Sturla Molden wrote: > Den 15.06.2011 23:22, skrev Christopher Barker: >> I think the issue got confused -- the OP was not looking to speed up a >> matrix multiply, but rather to speed up a whole bunch of independent >> matrix multiplies. > I would do it like this: > > 1. Wr

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-13 Thread Bruce Southey
On Mon, Jun 13, 2011 at 8:31 PM, Pauli Virtanen wrote: > On Mon, 13 Jun 2011 11:08:18 -0500, Bruce Southey wrote: > [clip] >> OSError: >> /usr/local/lib/python3.2/site-packages/numpy/core/multiarray.pyd: cannot >> open shared object file: No such file or directory > &

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-13 Thread Bruce Southey
On 06/13/2011 11:19 AM, Ralf Gommers wrote: On Mon, Jun 13, 2011 at 6:08 PM, Bruce Southey <mailto:bsout...@gmail.com>> wrote: On 06/13/2011 10:11 AM, Derek Homeier wrote: I used wget using the direct link and it eventually got the complete file after multiple tries.

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-13 Thread Bruce Southey
On 06/13/2011 10:11 AM, Derek Homeier wrote: > Hi Ralf, > >> FAIL: Test custom format function for each element in array. >> -- >> >> This test is not in 1.6.x, only in master. I suspect the same is true for >> the datetime tests,

Re: [Numpy-discussion] code review for datetime arange

2011-06-10 Thread Bruce Southey
On 06/10/2011 09:18 AM, Mark Wiebe wrote: On Fri, Jun 10, 2011 at 12:56 AM, Ralf Gommers mailto:ralf.gomm...@googlemail.com>> wrote: On Fri, Jun 10, 2011 at 1:54 AM, Mark Wiebe mailto:mwwi...@gmail.com>> wrote: On Thu, Jun 9, 2011 at 5:21 PM, Ralf Gommers mailto:ralf.gomm

Re: [Numpy-discussion] merging datetime progress

2011-06-08 Thread Bruce Southey
On Wed, Jun 8, 2011 at 1:55 PM, Mark Wiebe wrote: > On Wed, Jun 8, 2011 at 1:04 PM, Bruce Southey wrote: >> >> >> >> I am sorry but github pull requests do not appear to be sent to the numpy >> dev list. So you are not going to get many people to respond to

Re: [Numpy-discussion] merging datetime progress

2011-06-08 Thread Bruce Southey
On 06/08/2011 10:26 AM, Mark Wiebe wrote: On Tue, Jun 7, 2011 at 11:52 PM, Fernando Perez @gmail.com > wrote: On Tue, Jun 7, 2011 at 4:35 PM, Mark Wiebe mailto:mwwi...@gmail.com>> wrote: > I went ahead and did the merge today as I said I wanted to, th

Re: [Numpy-discussion] numpy input with genfromttxt()

2011-06-03 Thread Bruce Southey
On 06/03/2011 10:33 AM, jonasr wrote: > > > Bruce Southey wrote: >> On 06/03/2011 09:33 AM, jonasr wrote: >>> thank you very much, works much nicer and faster in comparison to the >>> script >>> i wrote and used before , >>> im not that muc

Re: [Numpy-discussion] numpy input with genfromttxt()

2011-06-03 Thread Bruce Southey
On 06/03/2011 09:33 AM, jonasr wrote: thank you very much, works much nicer and faster in comparison to the script i wrote and used before , im not that much used to lambda forms but it seems quit usefull in situations like this Olivier Delalleau-2 wrote: Here's an ugly one-liner: numpy.genf

Re: [Numpy-discussion] New functions.

2011-06-01 Thread Bruce Southey
On 06/01/2011 11:01 AM, Robert Kern wrote: > On Wed, Jun 1, 2011 at 10:44, Craig Yoshioka wrote: >> would anyone object to fixing the numpy mean and stdv functions, so that >> they always used a 64-bit value to track sums, or so that they used a >> running calculation. That way >> >> np.mean(np

Re: [Numpy-discussion] New functions.

2011-05-31 Thread Bruce Southey
On Tue, May 31, 2011 at 9:26 PM, Charles R Harris wrote: > > > On Tue, May 31, 2011 at 8:00 PM, Skipper Seabold > wrote: >> >> On Tue, May 31, 2011 at 9:53 PM, Warren Weckesser >> wrote: >> > >> > >> > On Tue, May 31, 2011 at 8:36 PM, Skipper Seabold >> > wrote: >> >> I don't know if it's one p

Re: [Numpy-discussion] Changing milestones on tickets

2011-05-31 Thread Bruce Southey
On 05/31/2011 10:33 AM, Mark Wiebe wrote: On Tue, May 31, 2011 at 10:09 AM, Pierre GM > wrote: On May 31, 2011, at 4:25 PM, Mark Wiebe wrote: > It's so we can see what bugs are actually fixed for 2.0 (as opposed to a prior release), and a bug that's mar

Re: [Numpy-discussion] loadtxt ndmin option

2011-05-31 Thread Bruce Southey
On 05/31/2011 10:18 AM, Pierre GM wrote: > On May 31, 2011, at 4:53 PM, Derek Homeier wrote: > >> Hi Chris, >> >> On 31 May 2011, at 13:56, cgraves wrote: >> >>> I've downloaded the latest numpy (1.6.0) and loadtxt has the ndmin >>> option, >>> however neither genfromtxt nor recfromtxt, which use l

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Bruce Southey
On 05/26/2011 10:13 AM, Derek Homeier wrote: > On 26 May 2011, at 11:17, Talla wrote: > >> Below is the output of the coammands you mentioned. >> >> C:\>python >> Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit >> (Intel)] on win3 >> Type "help", "copyright", "credits" or "licen

Re: [Numpy-discussion] random seed replicate 2d randn with 1d loop

2011-05-23 Thread Bruce Southey
On 05/23/2011 02:02 PM, Robert Kern wrote: > On Mon, May 23, 2011 at 13:33, wrote: >> I have a function in two versions, one vectorized, one with loop >> >> the vectorized function gets all randn variables in one big array >> rvs = distr.rvs(args, **{'size':(nobs, nrep)}) >> >> the looping versio

Re: [Numpy-discussion] Python memory management issues using, Linux. Maybe Numpy, related.

2011-05-22 Thread Bruce Southey
re are no > issues. > > from numpy import arange, sum > > for x in range(1000): > inhibVal = sum(arange(15)) > > Cheers, > Jeff > > Message: 3 > Date: Sun, 22 May 2011 09:32:10 -0500 > From: Bruce Southey > Subject: Re: [Numpy-discussion] Python

Re: [Numpy-discussion] Python memory management issues using Linux. Maybe Numpy, related.

2011-05-22 Thread Bruce Southey
On Sun, May 22, 2011 at 8:42 AM, Ralf Gommers wrote: > > > On Sun, May 22, 2011 at 2:54 PM, Jeffrey Spencer > wrote: >> >> Sorry. I attached here the class and script to run it. It is just a >> minimalistic example of what I'm really doing that exhibits the same >> behavior. All the script does i

Re: [Numpy-discussion] How can Import DATA from a Fortran file

2011-05-20 Thread Bruce Southey
On Fri, May 20, 2011 at 8:22 AM, Olivier Delalleau wrote: > StringIO(data_file_name) will not read your file, it will just allow you to > read the string data_file_name. You can probably just use > open(data_file_name) (and yes,you'll probably need to open it for each call > to genfromtxt). > Sorr

Re: [Numpy-discussion] Windows dev-build Numpy 1.6.1

2011-05-18 Thread Bruce Southey
On 05/18/2011 03:28 PM, Ralf Gommers wrote: On Wed, May 18, 2011 at 8:42 PM, Wieland Brendel mailto:wielandbren...@gmx.net>> wrote: I succeeded now in installing the latest Numpy version. There was some problem in mingw32ccompiler.py. I had to change the lines elif

Re: [Numpy-discussion] Creating a 1-d structured array

2011-05-15 Thread Bruce Southey
On Fri, May 13, 2011 at 4:38 PM, Robert Kern wrote: > On Fri, May 13, 2011 at 09:58, Bruce Southey wrote: >> Hi, >> How do you create a 'single' structured array using np.array()? >> Basically I am attempting to do something like this that does not work: >&

Re: [Numpy-discussion] Creating a 1-d structured array

2011-05-13 Thread Bruce Southey
7;s probably what he's been >> asking for... >> >> On 13 May 2011, at 17:20, josef.p...@gmail.com wrote: >> >>> On Fri, May 13, 2011 at 10:58 AM, Bruce Southey >>> wrote: >>>> Hi, >>>> How do you create a 'single' structured

[Numpy-discussion] Creating a 1-d structured array

2011-05-13 Thread Bruce Southey
Hi, How do you create a 'single' structured array using np.array()? Basically I am attempting to do something like this that does not work: a=np.array([1,2, 3,4, 5,6], dtype=np.dtype([('foo', int)])) I realize that this is essentially redundant as if A is an 1-d array then a structured array with

[Numpy-discussion] RHE 4 and test failure with complex numbers (tickets: 1323, 1324 and 1325)

2011-05-12 Thread Bruce Southey
Hi, I think tickets 1323, 1324 and 1325 have a common source of error and, thus, are duplicates. http://projects.scipy.org/numpy/ticket/1323 http://projects.scipy.org/numpy/ticket/1324 http://projects.scipy.org/numpy/ticket/1325 These tickets could be closed just because Red Hat Enterprise Linux

Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-11 Thread Bruce Southey
On Wed, May 11, 2011 at 2:07 PM, Olivier Delalleau wrote: > 2011/5/11 Sturla Molden >> >> Den 09.05.2011 15:58, skrev Keith Goodman: >> > On Mon, May 9, 2011 at 1:46 AM, Pauli Virtanen  wrote: >> >> Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: >> >>> I'm writing a function that accepts f

  1   2   3   4   5   >