Re: [Numpy-discussion] ufunc overrides

2013-07-17 Thread Nathaniel Smith
On Thu, Jul 11, 2013 at 4:29 AM, Blake Griffith blake.a.griff...@gmail.com wrote: Hello NumPy, Part of my GSoC is compatibility with SciPy's sparse matrices and NumPy's ufuncs. Currently there is no feasible way to do this without changing ufuncs a bit. I've been considering a mechanism

Re: [Numpy-discussion] Speedup by avoiding memory alloc twice in scalar array

2013-07-17 Thread Nathaniel Smith
On Tue, Jul 16, 2013 at 7:53 PM, Frédéric Bastien no...@nouiz.org wrote: Hi, On Tue, Jul 16, 2013 at 11:55 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Jul 16, 2013 at 2:34 PM, Arink Verma arinkve...@gmail.com wrote: Each ndarray does two mallocs, for the obj and buffer. These could

Re: [Numpy-discussion] empty_like for masked arrays

2013-07-17 Thread Nathaniel Smith
On Mon, Jul 15, 2013 at 2:33 PM, Gregorio Bastardo gregorio.basta...@gmail.com wrote: Hi, On Mon, Jun 10, 2013 at 3:47 PM, Nathaniel Smith n...@pobox.com wrote: Hi all, Is there anyone out there using numpy masked arrays, who has an opinion on how empty_like (and its friends ones_like,

Re: [Numpy-discussion] Speedup by avoiding memory alloc twice in scalar array

2013-07-17 Thread Frédéric Bastien
On Wed, Jul 17, 2013 at 10:39 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Jul 16, 2013 at 7:53 PM, Frédéric Bastien no...@nouiz.org wrote: Hi, On Tue, Jul 16, 2013 at 11:55 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Jul 16, 2013 at 2:34 PM, Arink Verma

Re: [Numpy-discussion] Size/Shape

2013-07-17 Thread Robert Kern
On Wed, Jul 17, 2013 at 6:21 PM, Brady McCary brady.mcc...@gmail.com wrote: NumPy Folks, Would someone please discuss or point me to a discussion about the discrepancy in size vs shape in the following MWE? In this example I have used a grayscale PNG version of the ImageMagick logo, but any

[Numpy-discussion] Size/Shape

2013-07-17 Thread Brady McCary
NumPy Folks, Would someone please discuss or point me to a discussion about the discrepancy in size vs shape in the following MWE? In this example I have used a grayscale PNG version of the ImageMagick logo, but any image which is not square will do. $ python Python 2.7.4 (default, Apr 19 2013,

Re: [Numpy-discussion] Speedup by avoiding memory alloc twice in scalar array

2013-07-17 Thread Charles R Harris
On Wed, Jul 17, 2013 at 10:57 AM, Frédéric Bastien no...@nouiz.org wrote: On Wed, Jul 17, 2013 at 10:39 AM, Nathaniel Smith n...@pobox.com wrote: On Tue, Jul 16, 2013 at 7:53 PM, Frédéric Bastien no...@nouiz.org wrote: Hi, On Tue, Jul 16, 2013 at 11:55 AM, Nathaniel Smith

[Numpy-discussion] [ANN] 4th Python Symposium at AMS2014

2013-07-17 Thread Jonathan Rocher
[Apologies for the cross-post] Dear all, If you work with Python around themes like big data, climate, meteorological or oceanic science, and/or GIS, you should come present at the 4th Python Symposium, as part of the American Meteorological Society conference in Atlanta in Feb 2014: