Re: [Numpy-discussion] Numpy 1.5.1 - Mac - with Activestate Python 3

2011-01-12 Thread Chris Barker
On 1/12/2011 12:57 PM, David Cortesi wrote: > I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6. > When I run the Mac OS installer it shows all disks as ineligible and > the error message, "numpy 1.5.1 can't be installed on this disk. numpy > requires System Python 2.6 to install

[Numpy-discussion] Numpy 1.5.1 - Mac - with Activestate Python 3

2011-01-12 Thread David Cortesi
I have installed ActiveState's Python 3 packages on Mac OS X 10.6.6. There exists: /Library/Frameworks/Python.framework/Versions/Current/Python* When I run the Mac OS installer it shows all disks as ineligible and the error message, "numpy 1.5.1 can't be installed on this disk. numpy requires S

Re: [Numpy-discussion] Non-deterministic floating point behavior in numpy 1.5.1 ?

2011-01-12 Thread Pauli Virtanen
Wed, 12 Jan 2011 17:34:32 +, Grégory Guyomarc'h wrote: [clip] > y = (numpy.dot(m, x) - 13.90901663) * 1000.0 print y[0] [clip] > Also, I could not reproduce it with older versions of numpy such as 1.3. > Is this behavior expected ? Is there a way to make sure the results of a > numpy floa

[Numpy-discussion] Non-deterministic floating point behavior in numpy 1.5.1 ?

2011-01-12 Thread Grégory Guyomarc'h
Hello, I have noticed strange non-deterministic behaviours with numpy 1.5.1 when using floating point arrays. The following script were run on 6 different machines, all Intel Core i7: - 3 of them running numpy 1.5.1 with either Python 2.7.1 (x86) or 2.5.2 (x86) and, - 3 of them running numpy 1.

Re: [Numpy-discussion] Output dtype

2011-01-12 Thread Keith Goodman
On Wed, Jan 12, 2011 at 8:20 AM, Bruce Southey wrote: > On 12/13/2010 04:53 PM, Keith Goodman wrote: >> On Mon, Dec 13, 2010 at 12:20 PM, Bruce Southey  wrote: >> >>> Unless something has changed since the docstring was written, this is >>> probably an inherited 'bug' from np.mean() as the author

[Numpy-discussion] Autosummary using numpydoc

2011-01-12 Thread Matthew Turk
Hi there, I've been trying to take the numpy docstring and apply the same methodology to a different project I work on, but there are a couple details that I think I'm unclear on, and I was hoping for some pointers or at least reassurances that it's working as intended, despite Sphinx's protests.

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread josef . pktd
On Wed, Jan 12, 2011 at 11:05 AM, Zachary Pincus wrote: >> Thank you very much for the prompt response.  I have already done >> what you >> have suggested, but there are a few cases where I do need to have an >> array >> named with a variable (looping through large numbers of unrelated >> files an

Re: [Numpy-discussion] Output dtype

2011-01-12 Thread Bruce Southey
On 12/13/2010 04:53 PM, Keith Goodman wrote: > On Mon, Dec 13, 2010 at 12:20 PM, Bruce Southey wrote: > >> Unless something has changed since the docstring was written, this is >> probably an inherited 'bug' from np.mean() as the author expected that >> the docstring of mean was correct. For my 'o

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread Zachary Pincus
> Thank you very much for the prompt response. I have already done > what you > have suggested, but there are a few cases where I do need to have an > array > named with a variable (looping through large numbers of unrelated > files and > calculations that need to be dumped into different an

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread Paul Anton Letnes
On 12. jan. 2011, at 16.40, dstaley wrote: > > > Zachary Pincus-2 wrote: >> >>> Is it possible to use a variable in an array name? I am looping >>> through a >>> bunch of calculations, and need to have each array as a separate >>> entity. >>> I'm pretty new to python and numpy, so forgive

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread dstaley
Zachary Pincus-2 wrote: > >> Is it possible to use a variable in an array name? I am looping >> through a >> bunch of calculations, and need to have each array as a separate >> entity. >> I'm pretty new to python and numpy, so forgive my ignorance. I'm >> sure there >> is a simple answer

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread Zachary Pincus
> Is it possible to use a variable in an array name? I am looping > through a > bunch of calculations, and need to have each array as a separate > entity. > I'm pretty new to python and numpy, so forgive my ignorance. I'm > sure there > is a simple answer, but I can't seem to find it. > > l

[Numpy-discussion] Variable in an array name?

2011-01-12 Thread dstaley
Is it possible to use a variable in an array name? I am looping through a bunch of calculations, and need to have each array as a separate entity. I'm pretty new to python and numpy, so forgive my ignorance. I'm sure there is a simple answer, but I can't seem to find it. let's say i have a var

Re: [Numpy-discussion] mapping a function to a masked array

2011-01-12 Thread Pierre GM
On Jan 12, 2011, at 12:45 PM, Ben Elliston wrote: > I have a masked array of values that I would like to transform through > a user-defined function. Naturally, I want to ignore any values that > are masked in the initial array. > > The user-defined function examines other points around the val

[Numpy-discussion] mapping a function to a masked array

2011-01-12 Thread Ben Elliston
I have a masked array of values that I would like to transform through a user-defined function. Naturally, I want to ignore any values that are masked in the initial array. The user-defined function examines other points around the value in question, so I need to use ndenumerate (or similar) to g