Re: [Numpy-discussion] Willing to contribute to SciPy NumPy ...

2011-03-31 Thread Scott Sinclair
On 31 March 2011 07:27, Sylvain Bellemare sbel...@gmail.com wrote:  I would like to seriously start contributing to NumPy and/or SciPy, as much as I possibly can. I'm sure that your help will be welcomed! A good place to get started is helping out with documentation (see

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread David Cournapeau
On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen ro...@uw.edu wrote: In article AANLkTi=eeg8kl7639imrtl-ihg1ncqyolddsid5tf...@mail.gmail.com,  Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, I am pleased to announce the availability of the first beta of NumPy 1.6.0. Due to the

Re: [Numpy-discussion] np.histogram on arrays.

2011-03-31 Thread eat
Hi, On Wed, Mar 30, 2011 at 1:44 PM, Éric Depagne e...@depagne.org wrote: Well I guess, for a slight performance improvement, you could create your own streamlined histogrammer. But, in order to better grasp your situation it would be beneficial to know how the counts and bounds are

[Numpy-discussion] random number genration

2011-03-31 Thread Alex Ter-Sarkissov
thanks Sturl, your second code works well although I had to divide the vector elements through 128 to get just the binaries ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Pearu Peterson
On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau courn...@gmail.comwrote: On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen ro...@uw.edu wrote: In article AANLkTi=eeg8kl7639imrtl-ihg1ncqyolddsid5tf...@mail.gmail.com, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, I am

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 11:37, Pearu Peterson pearu.peter...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen ro...@uw.edu wrote: In article

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Pearu Peterson
On Thu, Mar 31, 2011 at 1:00 PM, Scott Sinclair scott.sinclair...@gmail.com wrote: On 31 March 2011 11:37, Pearu Peterson pearu.peter...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Nils Becker
Hi Ralf, I cloned numpy/master and played around a little. when giving the bins explicitely, now histogram2d and histogramdd work as expected in all tests i tried. However, some of the cases with missing bin specification appear somewhat inconsistent. The first question is if creating

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 12:18, Pearu Peterson pearu.peter...@gmail.com wrote: On Thu, Mar 31, 2011 at 1:00 PM, Scott Sinclair scott.sinclair...@gmail.com wrote: For what it's worth, the maintenance/1.6.x branch works for me on 64-bit Ubuntu: (numpy-1.6.x)scott@godzilla:~$ python -c import numpy;

[Numpy-discussion] EuroPython 2011: call for paper is ending - Please spread the word

2011-03-31 Thread Palla
Hi all, I'm Francesco and I am writing on behalf of Python Italia APS, a no-profit association promoting EuroPython conference. (www.europython.eu) Europython End of Call for Presentations is April 6th. I'd like to ask to you to forward this mail to anyone that you feel may be interested. We're

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 4:53 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: On 26. mars 2011, at 21.44, Derek Homeier wrote: Hi Paul, having had a look at the other tickets you dug up, My

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Ralf Gommers
On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: On 30 Mar 2011, at 23:26, Benjamin Root wrote: Ticket 301: 'Make power and divide return floats from int inputs (like true_divide)' http://projects.scipy.org/numpy/ticket/301 Invalid because the

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: On 26. mars 2011, at 21.44, Derek Homeier wrote: Hi Paul, having had a look at the other tickets you dug up,

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 5:03 PM, Bruce Southey bsout...@gmail.com wrote: On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: On 26. mars 2011, at 21.44, Derek Homeier wrote:

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On 03/31/2011 10:08 AM, Ralf Gommers wrote: On Thu, Mar 31, 2011 at 5:03 PM, Bruce Southeybsout...@gmail.com wrote: On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: On

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 10:00 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: On 30 Mar 2011, at 23:26, Benjamin Root wrote: Ticket 301: 'Make power and divide return floats from int inputs

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Charles R Harris
On Thu, Mar 31, 2011 at 9:00 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: On 30 Mar 2011, at 23:26, Benjamin Root wrote: Ticket 301: 'Make power and divide return floats from int inputs

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Christopher Barker
On 3/31/11 8:41 AM, Benjamin Root wrote: The ticket is about the functions np.divide and np.power, not / and **. This currently does not work the same, unlike what's said above: Hmm, I didn't notice that distinction. So long as there is a consistent difference between the function

[Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1. It appears to install a bunch of suff in /usr/lib64/python2.7/site-packages/doc (see below for examples). This seems wrong. Thoughts? /usr/lib64/python2.7/site-packages/doc/cython/MANIFEST

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski or...@cora.nwra.com wrote: I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1.  It appears to install a bunch of suff in /usr/lib64/python2.7/site-packages/doc (see below for examples).  This seems wrong.  Thoughts? That is

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Derek Homeier
On 31 Mar 2011, at 17:03, Bruce Southey wrote: This is an invalid ticket because the docstring clearly states that in 3 different, yet critical places, that missing values are not handled here: Each row in the text file must have the same number of values. genfromtxt : Load data with

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Mark Wiebe
On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) wickedg...@gmail.comwrote: On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: Can anyone please give me some suggestions on how to go about writing a unit test for this? Or should I just submit a pull

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Ralf Gommers
-- Forwarded message -- From: Ralf Gommers ralf.gomm...@googlemail.com Date: Thu, Mar 31, 2011 at 7:31 PM Subject: Re: [Numpy-discussion] np.histogramdd of empty data To: Nils Becker n.bec...@amolf.nl On Thu, Mar 31, 2011 at 12:33 PM, Nils Becker n.bec...@amolf.nl wrote: Hi

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 7:06 PM, Mark Wiebe mwwi...@gmail.com wrote: On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: Can anyone please give me some suggestions on how to go

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 12:32 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: -- Forwarded message -- From: Ralf Gommers ralf.gomm...@googlemail.com Date: Thu, Mar 31, 2011 at 7:31 PM Subject: Re: [Numpy-discussion] np.histogramdd of empty data To: Nils Becker

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Mark Wiebe
On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Thu, Mar 31, 2011 at 7:06 PM, Mark Wiebe mwwi...@gmail.com wrote: On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail)

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 12:00, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski or...@cora.nwra.com wrote: I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1.  It appears to install a bunch of suff in

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Eli Stevens (Gmail)
On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: It would definitely need to get into beta 2, and even then I'm a little hesitant to push in such a change at the last moment. If I miss the 1.6.0b2 cutoff, would a change like this be appropriate for 1.6.1, or

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:00, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski or...@cora.nwra.com wrote: I'm looking at updating the numpy package in Fedora rawhide to

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On 03/31/2011 12:02 PM, Derek Homeier wrote: On 31 Mar 2011, at 17:03, Bruce Southey wrote: This is an invalid ticket because the docstring clearly states that in 3 different, yet critical places, that missing values are not handled here: Each row in the text file must have the same number

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:37 PM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: It would definitely need to get into beta 2, and even then I'm a little hesitant to push in such a change at the last moment. If

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 13:39, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:00, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:52 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Mar 31, 2011 at 13:39, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Mar 31, 2011 at 12:00, Ralf Gommers

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 14:08, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 8:52 PM, Robert Kern robert.k...@gmail.com wrote: Linux distributions start to complain when data files (especially documentation data files not used at runtime) are placed into the Python

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:08 PM, Ralf Gommers wrote: But they're not documentation files. The line is a bit blurry, but something like the numpy.i SWIG interface face is meant for using numpy, not documenting usage of SWIG and numpy (maybe most similar to what's in core/include/ ?). The actual

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:12 PM, Robert Kern wrote: Well, they're meant to be copied into your own code, which is why they end up under a doc/ directory. Lots of things like this tend to end up in doc/ directories. perhaps /usr/share/doc/numpy then. -- Orion Poplawski Technical Manager

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 14:16, Orion Poplawski or...@cora.nwra.com wrote: On 03/31/2011 01:12 PM, Robert Kern wrote: Well, they're meant to be copied into your own code, which is why they end up under a doc/ directory. Lots of things like this tend to end up in doc/ directories. perhaps

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:21 PM, Robert Kern wrote: On Thu, Mar 31, 2011 at 14:16, Orion Poplawskior...@cora.nwra.com wrote: On 03/31/2011 01:12 PM, Robert Kern wrote: Well, they're meant to be copied into your own code, which is why they end up under a doc/ directory. Lots of things like this tend to

Re: [Numpy-discussion] Willing to contribute to SciPy NumPy ...

2011-03-31 Thread Christopher Barker
On 3/31/11 12:04 PM, Anthony Scopatz wrote: A good place to get started is helping out with documentation (see http://docs.scipy.org/numpy/Front%20Page/). Actually, according to the Jacob Kaplan-Moss's talk at PyCon this year (http://pycon.blip.tv/file/4881071/) Nice talk -- thanks

Re: [Numpy-discussion] Willing to contribute to SciPy NumPy ...

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 3:29 PM, Christopher Barker chris.bar...@noaa.govwrote: On 3/31/11 12:04 PM, Anthony Scopatz wrote: (with which I am inclined to agree), documentation is probably not the best way to get started. I agree as well. However, I think newbies can be a great help in

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread David
On 03/31/2011 06:37 PM, Pearu Peterson wrote: On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau courn...@gmail.com mailto:courn...@gmail.com wrote: On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen ro...@uw.edu mailto:ro...@uw.edu wrote: In article

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Paul Ivanov
Ralf Gommers, on 2011-03-23 17:07, wrote: Please test this beta and report any problems on the Numpy mailing list. Hi, I reopened http://projects.scipy.org/numpy/ticket/1768, as 'test_chisquare' still fails for me on a 32 bit machine. Lowering the precision from 14 to 13 decimals makes the

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Charles R Harris
On Thu, Mar 31, 2011 at 8:42 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Thu, Mar 31, 2011 at 4:53 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes paul.anton.let...@gmail.com wrote: snip If you look in Trac under

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Eli Stevens (Gmail)
On Thu, Mar 31, 2011 at 11:45 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Mar 31, 2011 at 8:37 PM, Eli Stevens (Gmail) wickedg...@gmail.com wrote: Next up for me is to get a patch onto the CPython issue tracker, but as soon as I have that done, I'll start working on adding unit