Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-08 Thread Matthew Brett
Hi, Thanks to Chuck and Jarrod for giving me upload permission - wheels are on sourceforge now: https://sourceforge.net/projects/numpy/files/NumPy/1.8.1rc1 Until the wheels reach pypi, you'll have to test by: * downloading the python 2.7 or 3.3 wheel to a directory (say the current directory)

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 9:37 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Mar 6, 2014 at 10:35 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, Mar 5, 2014 at 7:28 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, Mar 5, 2014 at 3:29 PM

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 11:21 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Mar 6, 2014 at 12:05 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Mar 6, 2014 at 9:37 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Mar 6, 2014 at 10:35

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-06 Thread Matthew Brett
Hi, On Thu, Mar 6, 2014 at 12:36 PM, Chris Barker chris.bar...@noaa.gov wrote: On Thu, Mar 6, 2014 at 11:38 AM, Matthew Brett matthew.br...@gmail.com wrote: pypi is accepting wheels: http://pythonwheels.com/ https://pypi.python.org/pypi/pyzmq/14.0.1 Chris B - any comments here? It's

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-05 Thread Matthew Brett
Hi, I built (and tested) some numpy wheels for the rc1: http://nipy.bic.berkeley.edu/numpy-dist/ Cheers, Matthew ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-05 Thread Matthew Brett
Hi, On Wed, Mar 5, 2014 at 3:29 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I built (and tested) some numpy wheels for the rc1: http://nipy.bic.berkeley.edu/numpy-dist/ Now building, installing, testing, uploading wheels nightly on OSX 10.9: http://nipy.bic.berkeley.edu/builders

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 11:02 AM, Chris Barker chris.bar...@noaa.gov wrote: On Wed, Feb 26, 2014 at 8:27 AM, Tom Augspurger tom.augspurge...@gmail.com wrote: Thanks for posting those wheels Matthew. I'm on a Mac (10.9.2) and I had trouble installing numpy from your wheel in a fresh

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 2:33 PM, Chris Barker chris.bar...@noaa.gov wrote: On Wed, Feb 26, 2014 at 11:34 AM, Matthew Brett matthew.br...@gmail.com wrote: - convention is the other option: - use binary wheel for in-house deplyment to similar systems - use binary wheels

Re: [Numpy-discussion] 1.8.1 release

2014-02-26 Thread Matthew Brett
Hi, On Wed, Feb 26, 2014 at 3:10 PM, Tom Augspurger tom.augspurge...@gmail.com wrote: Thanks Chris, Chris Barker - NOAA Federal wrote What python are you using? apparently not a Universal 32+64 bit build. The one Apple delivers? I'm using homebrew python, so the platform difference seems

Re: [Numpy-discussion] 1.8.1 release

2014-02-24 Thread Matthew Brett
Hi, On Sun, Feb 23, 2014 at 10:26 AM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, A lot of fixes have gone into the 1.8.x branch and it looks about time to do a bugfix release. There are a couple of important bugfixes still to backport, but if all goes well next weekend, March

Re: [Numpy-discussion] 1.8.1 release

2014-02-24 Thread Matthew Brett
Hi, On Mon, Feb 24, 2014 at 12:40 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sun, Feb 23, 2014 at 10:26 AM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, A lot of fixes have gone into the 1.8.x branch and it looks about time to do a bugfix release

Re: [Numpy-discussion] How exactly ought 'dot' to work?

2014-02-22 Thread Matthew Brett
Hi, On Sat, Feb 22, 2014 at 2:03 PM, Nathaniel Smith n...@pobox.com wrote: Hi all, Currently numpy's 'dot' acts a bit weird for ndim2 or ndim1. In practice this doesn't usually matter much, because these are very rarely used. But, I would like to nail down the behaviour so we can say

Re: [Numpy-discussion] How exactly ought 'dot' to work?

2014-02-22 Thread Matthew Brett
Hi, On Sat, Feb 22, 2014 at 4:09 PM, Pauli Virtanen p...@iki.fi wrote: 23.02.2014 00:03, Nathaniel Smith kirjoitti: Currently numpy's 'dot' acts a bit weird for ndim2 or ndim1. In practice this doesn't usually matter much, because these are very rarely used. But, I would like to nail down the

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 4:16 AM, Jacco Hoekstra - LR j.m.hoeks...@tudelft.nl wrote: For our students, the matrix class is really appealing as we use a lot of linear algebra and expressions with matrices simply look better with an operator instead of a function: x=A.I*b looks

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 8:55 AM, josef.p...@gmail.com wrote: On Tue, Feb 11, 2014 at 11:25 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, Feb 11, 2014 at 4:16 AM, Jacco Hoekstra - LR j.m.hoeks...@tudelft.nl wrote: For our students, the matrix class is really

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-11 Thread Matthew Brett
Hi, On Tue, Feb 11, 2014 at 11:40 AM, Pauli Virtanen p...@iki.fi wrote: 11.02.2014 21:20, alex kirjoitti: [clip] In the spirit of offsetting this bias and because this thread is lacking in examples of projects that use numpy.matrix, here's another data point: cvxpy

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 6:26 AM, Nathaniel Smith n...@pobox.com wrote: On Sun, Feb 9, 2014 at 4:59 PM, alex argri...@ncsu.edu wrote: Hello list, I wrote this mini-nep for numpy but I've been advised it is more appropriate for discussion on the list. The ``numpy.matrix`` API provides

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 11:44 AM, josef.p...@gmail.com wrote: On Mon, Feb 10, 2014 at 2:12 PM, eat e.antero.ta...@gmail.com wrote: On Mon, Feb 10, 2014 at 9:08 PM, alex argri...@ncsu.edu wrote: On Mon, Feb 10, 2014 at 2:03 PM, eat e.antero.ta...@gmail.com wrote: Rhetorical or

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 7:09 AM, Alan G Isaac alan.is...@gmail.com wrote: [snip] Just to forestall the usual just start them with arrays, eventually they'll be grateful reply, I would want to hear that suggestion only from someone who has used it successfully with undergraduates in the

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:23 PM, Alan G Isaac alan.is...@gmail.com wrote: On 2/10/2014 3:04 PM, Matthew Brett wrote: I teach psychologists and neuroscientists mainly I must suspect that notebook was not for **undergraduate** psychology students. At least, not the ones I usually meet

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:44 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Feb 10, 2014 at 1:23 PM, Alan G Isaac alan.is...@gmail.com wrote: On 2/10/2014 3:04 PM, Matthew Brett wrote: I teach psychologists and neuroscientists mainly I must suspect that notebook

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:39 PM, josef.p...@gmail.com wrote: On Mon, Feb 10, 2014 at 3:04 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Feb 10, 2014 at 7:09 AM, Alan G Isaac alan.is...@gmail.com wrote: [snip] Just to forestall the usual just start them with arrays

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 12:58 PM, josef.p...@gmail.com wrote: On Mon, Feb 10, 2014 at 3:45 PM, alex argri...@ncsu.edu wrote: On Mon, Feb 10, 2014 at 2:36 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Mon, Feb 10, 2014 at 6:26 AM, Nathaniel Smith n...@pobox.com wrote

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 1:52 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Feb 10, 2014 at 2:28 PM, Pauli Virtanen p...@iki.fi wrote: 10.02.2014 23:13, Alan G Isaac kirjoitti: On 2/10/2014 4:03 PM, Pauli Virtanen wrote: What sparked this discussion (on Github) is

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 2:11 PM, Pauli Virtanen p...@iki.fi wrote: 10.02.2014 23:40, Alan G Isaac kirjoitti: On 2/10/2014 4:28 PM, Pauli Virtanen wrote: Starting with asarray won't work: sparse matrices are not subclasses of ndarray. I was focused on the `matrix` object. For this

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-10 Thread Matthew Brett
Hi, On Mon, Feb 10, 2014 at 2:33 PM, Pauli Virtanen p...@iki.fi wrote: 11.02.2014 00:17, Matthew Brett kirjoitti: [clip] That is a very convincing argument. What would be the problems (apart from code compatibility) in making scipy.sparse use the ndarray semantics? I'd estimate the effort

Re: [Numpy-discussion] deprecate numpy.matrix

2014-02-09 Thread Matthew Brett
Hi, On Sun, Feb 9, 2014 at 2:55 PM, alex argri...@ncsu.edu wrote: On Sun, Feb 9, 2014 at 5:12 PM, Alan G Isaac wrote: On 2/9/2014 4:59 PM, alex wrote: The ``numpy.matrix`` API provides a low barrier to using Python for linear algebra, just as the pre-3 Python ``input`` function and

Re: [Numpy-discussion] MKL and OpenBLAS

2014-01-30 Thread Matthew Brett
Hi, On Thu, Jan 30, 2014 at 4:29 AM, Carl Kleffner cmkleff...@gmail.com wrote: I fully agree with you. But you have to consider the following: - the officially mingw-w64 toolchains are build almost the same way. The only difference is, that they have non-static builds (that would be

Re: [Numpy-discussion] Loading large NIfTI file - MemoryError

2014-01-03 Thread Matthew Brett
Hi, On Tue, Dec 31, 2013 at 1:29 PM, Julian Taylor jtaylor.deb...@googlemail.com wrote: On 31.12.2013 14:13, Amira Chekir wrote: Hello together, I try to load a (large) NIfTI file (DMRI from Human Connectome Project, about 1 GB) with NiBabel. import nibabel as nib img =

Re: [Numpy-discussion] (no subject)

2013-11-27 Thread Matthew Brett
Hi, Thanks both - very helpful, Matthew On 11/22/13, Robert Kern robert.k...@gmail.com wrote: On Fri, Nov 22, 2013 at 9:23 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, I'm sorry if I missed something obvious - but is there a vectorized way to look for None in an array? In [3

[Numpy-discussion] (no subject)

2013-11-22 Thread Matthew Brett
Hi, I'm sorry if I missed something obvious - but is there a vectorized way to look for None in an array? In [3]: a = np.array([1, 1]) In [4]: a == object() Out[4]: array([False, False], dtype=bool) In [6]: a == None Out[6]: False (same for object arrays), Thanks a lot, Matthew

Re: [Numpy-discussion] Updates on using recent mingw for numpy/scipy

2013-11-05 Thread Matthew Brett
Hi David, Thanks a lot for the update. On Tue, Nov 5, 2013 at 10:50 AM, David Cournapeau courn...@gmail.com wrote: Hi there, During pycon.fr sprints, I took some time to look more into building numpy/scipy wheels on windows with recent mingw (gcc 4.x series). tl;dr: While I made some

Re: [Numpy-discussion] A context manager for print options

2013-10-27 Thread Matthew Brett
Hi, On Sun, Oct 27, 2013 at 2:01 AM, Neil Girdhar mistersh...@gmail.com wrote: Why not replace get_printoptions/set_printoptions with a context manager accessed using numpy.printoptions in the same way that numpy.errstate exposes a context manager to seterr/geterr? This would make the set

Re: [Numpy-discussion] ANN: SciPy 0.13.0 release

2013-10-25 Thread Matthew Brett
Hi, On Sat, Oct 19, 2013 at 2:40 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On behalf of the SciPy development team I'm pleased to announce the availability of SciPy 0.13.0. This release contains some interesting new features (see highlights below) and half a year's worth of maintenance

Re: [Numpy-discussion] official binaries on web page.

2013-10-23 Thread Matthew Brett
Hi, On Wed, Oct 23, 2013 at 8:16 AM, jim vickroy jim.vick...@noaa.gov wrote: On 10/23/2013 8:51 AM, Chris Barker - NOAA Federal wrote: Ralf Gommers ralf.gomm...@gmail.com wrote: but the layout of that page is on purpose. scipy.org is split into two parts: (a) a SciPy Stack part, and (b)

Re: [Numpy-discussion] official binaries on web page.

2013-10-23 Thread Matthew Brett
Hi, On Wed, Oct 23, 2013 at 10:55 AM, Pauli Virtanen p...@iki.fi wrote: 23.10.2013 20:10, Matthew Brett kirjoitti: [clip] There's no need to prefer one group over the other - we just need to make sure that both groups have instructions and binaries they can recognize as being for their case

Re: [Numpy-discussion] official binaries on web page.

2013-10-22 Thread Matthew Brett
Hi, On Tue, Oct 22, 2013 at 2:28 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Tue, Oct 22, 2013 at 10:44 PM, Chris Barker chris.bar...@noaa.gov wrote: On Tue, Oct 22, 2013 at 9:36 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: You can argue with the exact wording, I won't argue,

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun sunk...@gmail.com wrote: Dear all, I have written the following function to compute the square distances of a large matrix (each sample a row). It compute row by row and print the overall progress. The progress output is important and I didn't

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 4:38 AM, Ke Sun sunk...@gmail.com wrote: On Tue, Oct 08, 2013 at 01:49:14AM -0700, Matthew Brett wrote: Hi, On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun sunk...@gmail.com wrote: Dear all, I have written the following function to compute the square distances

Re: [Numpy-discussion] Efficient square distance computation

2013-10-08 Thread Matthew Brett
Hi, On Tue, Oct 8, 2013 at 12:44 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, Oct 8, 2013 at 4:38 AM, Ke Sun sunk...@gmail.com wrote: On Tue, Oct 08, 2013 at 01:49:14AM -0700, Matthew Brett wrote: Hi, On Tue, Oct 8, 2013 at 1:06 AM, Ke Sun sunk...@gmail.com wrote: Dear

Re: [Numpy-discussion] Products of small float32 values.

2013-10-02 Thread Matthew Brett
Hi, On Wed, Oct 2, 2013 at 6:00 PM, Dave Cook dav...@gmail.com wrote: Can someone explain what is going on here? In [153]: small = ones(1, dtype='float32') In [154]: small Out[154]: array([ 1.], dtype=float32) In [155]: small*1e-45 Out[155]: array([ 1.40129846e-45],

[Numpy-discussion] Fwd: New release of bdist_mpkg

2013-08-26 Thread Matthew Brett
Hi, Just in case y'all didn't catch this from other lists: I just did a new release of bdist_mpkg: https://pypi.python.org/pypi/bdist_mpkg/ The main new feature is Python 3 compatibility: https://github.com/matthew-brett/bdist_mpkg/blob/master/Changelog Thanks to Bob Ippolito

Re: [Numpy-discussion] OS X binaries for releases

2013-08-23 Thread Matthew Brett
Hi, On Fri, Aug 23, 2013 at 1:32 PM, Russell E. Owen ro...@uw.edu wrote: In article CAH6Pt5o32Otdhk2Ms5Cy5Zo=mn48h8x2wbswk92etub4mmr...@mail.gmail.com, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 22, 2013 at 12:14 PM, Russell E. Owen ro...@uw.edu wrote: In article

Re: [Numpy-discussion] OS X binaries for releases

2013-08-23 Thread Matthew Brett
Hi, On Fri, Aug 23, 2013 at 1:38 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Aug 23, 2013 at 1:32 PM, Russell E. Owen ro...@uw.edu wrote: In article CAH6Pt5o32Otdhk2Ms5Cy5Zo=mn48h8x2wbswk92etub4mmr...@mail.gmail.com, Matthew Brett matthew.br...@gmail.com wrote: Hi

Re: [Numpy-discussion] OS X binaries for releases

2013-08-22 Thread Matthew Brett
Hi, On Thu, Aug 22, 2013 at 12:14 PM, Russell E. Owen ro...@uw.edu wrote: In article cabl7cqjacxp2grtt8hvmayajrm0xmtn1qt71wkdnbgq7dlu...@mail.gmail.com, Ralf Gommers ralf.gomm...@gmail.com wrote: Hi all, Building binaries for releases is currently quite complex and time-consuming. For OS

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 12:10 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Thu, Aug 15, 2013 at 3:42 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, I'm thinking of making the 1.8.x branch next Sunday. Any complaints, thoughts? First thought: thanks a lot for

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 12:28 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Aug 15, 2013 at 1:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 15, 2013 at 12:10 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Thu, Aug 15, 2013 at 3:42 PM

Re: [Numpy-discussion] Upcoming 1.8 release.

2013-08-15 Thread Matthew Brett
Hi, On Thu, Aug 15, 2013 at 1:04 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Thu, Aug 15, 2013 at 9:31 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Aug 15, 2013 at 12:28 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Aug 15, 2013 at 1:22 PM

Re: [Numpy-discussion] About ready to start 1.8 release process.

2013-08-13 Thread Matthew Brett
Hi, On Mon, Aug 12, 2013 at 4:16 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Mon, Aug 12, 2013 at 3:14 PM, Charles R Harris charlesr.har...@gmail.com wrote: Datetime64 will not be modified in this release. I now there is neither the time nor the will for all that it

Re: [Numpy-discussion] a list of all available integer dtypes

2013-08-09 Thread Matthew Brett
Hi, On Fri, Aug 9, 2013 at 3:17 PM, Robert Kern robert.k...@gmail.com wrote: On Fri, Aug 9, 2013 at 11:06 PM, Valentin Haenel valen...@haenel.co wrote: Hi, I have a quick question: Is there a way to get a list of all available Numpy integer dtypes programatically? [~] |8 def

Re: [Numpy-discussion] flip array on axis

2013-07-10 Thread Matthew Brett
Hi, On Wed, Jul 10, 2013 at 11:02 AM, Andreas Hilboll li...@hilboll.de wrote: Hi, there are np.flipud and np.fliplr methods to flip 2d arrays on the first and second dimension, respectively. What can I do to flip an array on an axis which I don't know before runtime? I'd really like to see a

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Matthew Brett
Hi, On Sat, Jun 29, 2013 at 10:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? full and filledwith and filled_with all seem OK to me. On a meta note - anything we can do to stop threads petering off? It seems to happen rather often, Cheers,

Re: [Numpy-discussion] low level optimization in NumPy and minivect

2013-06-19 Thread Matthew Brett
Hi, On Wed, Jun 19, 2013 at 1:43 AM, Frédéric Bastien no...@nouiz.org wrote: Hi, On Mon, Jun 17, 2013 at 5:03 PM, Julian Taylor jtaylor.deb...@googlemail.com wrote: On 17.06.2013 17:11, Frédéric Bastien wrote: Hi, I saw that recently Julian Taylor is doing many low level optimization

Re: [Numpy-discussion] saving the lower half of matrix

2013-06-17 Thread Matthew Brett
Hi, On Mon, Jun 17, 2013 at 12:07 PM, Bala subramanian bala.biophys...@gmail.com wrote: Friends, I have to save only the lower half of a symmetric matrix to a file. I used numpy.tril to extract the lower half. However when i use 'numpy.savetxt', numpy saves the whole matrix (with upper half

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 1:22 PM, Sudheer Joseph sudheer.jos...@yahoo.com wrote: Dear Experts, I was trying to save results of eof analysis to an npz file and see that it is not possible to save a 3d array as npz file variable. Is this true even today or are there

Re: [Numpy-discussion] saving 3d array

2013-06-15 Thread Matthew Brett
Hi, On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph sudheer.jos...@yahoo.com wrote: Thank you very much for this tip. Is there a typical way to save masked and the rest separately?. Not much familiar with array handling in numpy. I don't use masked array myself, but it looks like it would

Re: [Numpy-discussion] numpy.filled, again

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith n...@pobox.com wrote: Hi all, It looks like we've gotten a bit confused and need to untangle something. There's a PR to add new functions 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a

Re: [Numpy-discussion] numpy.filled, again

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 7:49 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 4:18 AM, Nathaniel Smith wrote: Now imagine a different new version of this page, if we overload 'empty' to add a fill= option. I don't even know how we document that on this page. The list will remain:

Re: [Numpy-discussion] Dropping support for Accelerate/veclib?

2013-06-11 Thread Matthew Brett
Hi, On Tue, Jun 11, 2013 at 5:17 AM, Pauli Virtanen p...@iki.fi wrote: David Cournapeau cournape at gmail.com writes: [clip] What is the default ABI used on homebrew ? I think we should just follow that, given that Apple cannot figure it out. I think for Scipy homebrew uses the Gfortran

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-05-01 Thread Matthew Brett
HI, On Wed, May 1, 2013 at 9:09 AM, Yaroslav Halchenko li...@onerussian.com wrote: On Wed, 01 May 2013, Nathaniel Smith wrote: not sure there is anything to fix here. Third-party code relying on a certain outcome of rounding error is likely incorrect anyway. Yeah, seems to just be the

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-05-01 Thread Matthew Brett
Hi, On Wed, May 1, 2013 at 1:01 PM, Sebastian Berg sebast...@sipsolutions.net wrote: On Wed, 2013-05-01 at 15:29 -0400, Yaroslav Halchenko wrote: just for completeness... I haven't yet double checked if I have done it correctly but here is the bisected commit:

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-30 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 3:15 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Apr 6, 2013 at 1:35 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Apr 6, 2013 at 7:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Apr 6, 2013 at 1:51 AM, Ralf Gommers

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-04-30 Thread Matthew Brett
Hi, On Tue, Apr 30, 2013 at 8:08 PM, Yaroslav Halchenko li...@onerussian.com wrote: could anyone on 32bit system with fresh numpy (1.7.1) test following: wget -nc http://www.onerussian.com/tmp/data.npy ; python -c 'import numpy as np; data1 = np.load(/tmp/data.npy); print

Re: [Numpy-discussion] could anyone check on a 32bit system?

2013-04-30 Thread Matthew Brett
Hi, On Tue, Apr 30, 2013 at 9:16 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, Apr 30, 2013 at 8:08 PM, Yaroslav Halchenko li...@onerussian.com wrote: could anyone on 32bit system with fresh numpy (1.7.1) test following: wget -nc http://www.onerussian.com/tmp/data.npy

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-26 Thread Matthew Brett
Hi, On Fri, Apr 26, 2013 at 10:02 AM, Andrew Giessel andrew_gies...@hms.harvard.edu wrote: I like this, thank you Phil. From what I can see, the ordering of the returned slices when you use more than one axis (ie: slices(a, [1,2]), increments the last axis fastest. Does this makes sense

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-25 Thread Matthew Brett
Hi, On Thu, Apr 25, 2013 at 10:14 AM, Robert Kern robert.k...@gmail.com wrote: On Wed, Apr 24, 2013 at 10:37 PM, andrew giessel andrew.gies...@gmail.com wrote: Hello all- A while back I emailed the list about function for the numpy namespace, iteraxis(), which allows you to generalize the

Re: [Numpy-discussion] Proposal of new function: iteraxis()

2013-04-25 Thread Matthew Brett
Hi, On Thu, Apr 25, 2013 at 10:42 AM, Robert Kern robert.k...@gmail.com wrote: On Thu, Apr 25, 2013 at 6:30 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Apr 25, 2013 at 10:14 AM, Robert Kern robert.k...@gmail.com wrote: On Wed, Apr 24, 2013 at 10:37 PM, andrew giessel

Re: [Numpy-discussion] Canopy and Anaconda

2013-04-11 Thread Matthew Brett
Hi, On Wed, Apr 10, 2013 at 4:54 PM, David Cournapeau courn...@gmail.com wrote: Hi Colin, Please ask Canopy question on the corresponding Enthought list, or Anaconda questions on the corresponding channel at continuum. This Mailing List is for discussion about NumPy itself, David On

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 1:51 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Apr 6, 2013 at 4:47 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 7:39 PM, josef.p...@gmail.com wrote: It's not *any* cost, this goes deep and wide, it's one

Re: [Numpy-discussion] Numpy discussion - was: Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 10:18 AM, matti picus matti.pi...@gmail.com wrote: as a lurker, may I say that this discussion seems to have become non-productive? Well - the discussion is about two things - as so often the case on numpy. The first is about the particular change. The second is

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-06 Thread Matthew Brett
Hi, On Sat, Apr 6, 2013 at 1:35 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Apr 6, 2013 at 7:22 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Apr 6, 2013 at 1:51 AM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Apr 6, 2013 at 4:47 AM, Matthew

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 2:20 AM, Sebastian Berg sebast...@sipsolutions.net wrote: Hey On Thu, 2013-04-04 at 14:20 -0700, Matthew Brett wrote: Hi, On Tue, Apr 2, 2013 at 4:32 AM, Nathaniel Smith n...@pobox.com wrote: snip Maybe we should go through and rename order to something more

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 3:09 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Fri, Apr 5, 2013 at 5:13 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 2:20 AM, Sebastian Berg sebast...@sipsolutions.net wrote: Hey On Thu, 2013-04-04 at 14:20 -0700

[Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 3:09 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Fri, Apr 5, 2013 at 5:13 PM, Matthew

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 3:09 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 3:09 PM, Ralf

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 4:27 PM, josef.p...@gmail.com wrote: On Fri, Apr 5, 2013 at 6:09 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 12:53 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Fri, Apr 5, 2013 at 9:21 PM, Matthew Brett matthew.br

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 7:39 PM, josef.p...@gmail.com wrote: On Fri, Apr 5, 2013 at 9:50 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 4:27 PM, josef.p...@gmail.com wrote: On Fri, Apr 5, 2013 at 6:09 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-05 Thread Matthew Brett
Hi, On Fri, Apr 5, 2013 at 8:31 PM, josef.p...@gmail.com wrote: On Fri, Apr 5, 2013 at 10:47 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Fri, Apr 5, 2013 at 7:39 PM, josef.p...@gmail.com wrote: On Fri, Apr 5, 2013 at 9:50 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 11:45 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Wed, Apr 3, 2013 at 6:13 PM, Matthew Brett matthew.br...@gmail.com wrote: We all agree that 'order' is used

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 12:54 PM, josef.p...@gmail.com wrote: On Thu, Apr 4, 2013 at 3:40 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Apr 4, 2013 at 11:45 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Apr 4, 2013 at 9:21 AM, Chris Barker - NOAA Federal

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 1:33 PM, josef.p...@gmail.com wrote: On Thu, Apr 4, 2013 at 4:02 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Thu, Apr 4, 2013 at 12:54 PM, josef.p...@gmail.com wrote: On Thu, Apr 4, 2013 at 3:40 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Thu, Apr 4, 2013 at 1:53 PM, Sebastian Berg sebast...@sipsolutions.net wrote: On Thu, 2013-04-04 at 12:40 -0700, Matthew Brett wrote: Hi, snip So - to restate in other words - this : np.reshape(a, (3, 4), order='F') could reasonably mean one of two orthogonal things 1) Retrieve

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-04 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 4:32 AM, Nathaniel Smith n...@pobox.com wrote: snip Maybe we should go through and rename order to something more descriptive in each case, so we'd have a.reshape(..., index_order=C) a.copy(memory_order=F) etc.? I'd like to propose this instead:

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-03 Thread Matthew Brett
Hi, On Wed, Apr 3, 2013 at 5:19 AM, josef.p...@gmail.com wrote: On Tue, Apr 2, 2013 at 9:09 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, Apr 2, 2013 at 7:09 PM, josef.p...@gmail.com wrote: On Tue, Apr 2, 2013 at 5:52 PM, Nathaniel Smith n...@pobox.com wrote: On Tue, Apr 2

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-03 Thread Matthew Brett
Hi, On Wed, Apr 3, 2013 at 8:52 AM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Wed, Apr 3, 2013 at 6:24 AM, Sebastian Berg sebast...@sipsolutions.net wrote: the context where it gets applied. So giving the same strategy two different names is silly; if anything it's the

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 7:32 AM, Nathaniel Smith n...@pobox.com wrote: On Sat, Mar 30, 2013 at 2:08 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, We were teaching today, and found ourselves getting very confused about ravel and shape in numpy. Summary

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 12:29 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Mon, Apr 1, 2013 at 10:15 PM, Matthew Brett matthew.br...@gmail.com wrote: Thank you for the compliment, it's more enjoyable than other potential explanations of my confusion (sigh). But, I

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 4:07 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Tue, Apr 2, 2013 at 11:37 AM, josef.p...@gmail.com wrote: I still don't see why order is not a general concept, whether it refers to memory or indexing/iterating. I agree -- the ordering concept

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 5:52 PM, Nathaniel Smith n...@pobox.com wrote: On Tue, Apr 2, 2013 at 10:21 PM, Matthew Brett matthew.br...@gmail.com wrote: This is like observing that if I say go North then it's ambiguous about whether I want you to drive or walk, and concluding that we need

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-02 Thread Matthew Brett
Hi, On Tue, Apr 2, 2013 at 7:09 PM, josef.p...@gmail.com wrote: On Tue, Apr 2, 2013 at 5:52 PM, Nathaniel Smith n...@pobox.com wrote: On Tue, Apr 2, 2013 at 10:21 PM, Matthew Brett matthew.br...@gmail.com wrote: This is like observing that if I say go North then it's ambiguous about

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-01 Thread Matthew Brett
Hi, On Mon, Apr 1, 2013 at 10:23 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Sun, 2013-03-31 at 14:04 -0700, Matthew Brett wrote: Hi, On Sun, Mar 31, 2013 at 1:43 PM, josef.p...@gmail.com wrote: On Sun, Mar 31, 2013 at 3:54 PM, Matthew Brett matthew.br...@gmail.com wrote

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-04-01 Thread Matthew Brett
Hi, On Mon, Apr 1, 2013 at 4:51 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: HI folks, I've been teaching Python lately, have taught numpy a couple times (formally), and am preparing a leacture about it over the next couple weeks -- so I'm taking an interest here. I've been

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-31 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 10:38 PM, josef.p...@gmail.com wrote: On Sun, Mar 31, 2013 at 12:50 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Mar 30, 2013 at 9:37 PM, josef.p...@gmail.com wrote: On Sun, Mar 31, 2013 at 12:04 AM, Matthew Brett matthew.br...@gmail.com

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-31 Thread Matthew Brett
Hi, On Sun, Mar 31, 2013 at 1:43 PM, josef.p...@gmail.com wrote: On Sun, Mar 31, 2013 at 3:54 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Mar 30, 2013 at 10:38 PM, josef.p...@gmail.com wrote: On Sun, Mar 31, 2013 at 12:50 AM, Matthew Brett matthew.br...@gmail.com wrote

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 11:55 AM, Sebastian Berg sebast...@sipsolutions.net wrote: On Fri, 2013-03-29 at 19:08 -0700, Matthew Brett wrote: Hi, We were teaching today, and found ourselves getting very confused about ravel and shape in numpy. Summary -- There are two

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 4:14 AM, josef.p...@gmail.com wrote: On Fri, Mar 29, 2013 at 10:08 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, We were teaching today, and found ourselves getting very confused about ravel and shape in numpy. Summary -- There are two

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 1:57 PM, josef.p...@gmail.com wrote: On Sat, Mar 30, 2013 at 3:51 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Mar 30, 2013 at 4:14 AM, josef.p...@gmail.com wrote: On Fri, Mar 29, 2013 at 10:08 PM, Matthew Brett matthew.br...@gmail.com wrote

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 2:20 PM, josef.p...@gmail.com wrote: On Sat, Mar 30, 2013 at 4:57 PM, josef.p...@gmail.com wrote: On Sat, Mar 30, 2013 at 3:51 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Mar 30, 2013 at 4:14 AM, josef.p...@gmail.com wrote: On Fri, Mar 29

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 4:31 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: On Sat, Mar 30, 2013 at 3:21 PM, Matthew Brett matthew.br...@gmail.com wrote: On Sat, Mar 30, 2013 at 2:20 PM, josef.p...@gmail.com wrote: On Sat, Mar 30, 2013 at 4:57 PM, josef.p...@gmail.com wrote

Re: [Numpy-discussion] Raveling, reshape order keyword unnecessarily confuses index and memory ordering

2013-03-30 Thread Matthew Brett
Hi, On Sat, Mar 30, 2013 at 7:50 PM, josef.p...@gmail.com wrote: On Sat, Mar 30, 2013 at 7:31 PM, Bradley M. Froehle brad.froe...@gmail.com wrote: On Sat, Mar 30, 2013 at 3:21 PM, Matthew Brett matthew.br...@gmail.com wrote: On Sat, Mar 30, 2013 at 2:20 PM, josef.p...@gmail.com wrote

<    1   2   3   4   5   6   7   8   9   10   >