Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread Mark Wiebe
On Sun, Mar 13, 2011 at 7:47 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 13, 2011 at 8:23 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 1:22 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi all, On Tuesday (~2am GMT) I plan to create the

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread Ralf Gommers
On Mon, Mar 14, 2011 at 2:22 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:47 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 13, 2011 at 8:23 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 1:22 AM, Ralf Gommers

[Numpy-discussion] תשובה: [OT] any image io module that works with python3?

2011-03-14 Thread Nadav Horesh
The instillation is OK. The problem is that on my wok PC I do not have PIL installed. So: In [6]: import scikits.image.io as io --- ImportError Traceback (most recent call last)

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread Mark Wiebe
On Sun, Mar 13, 2011 at 11:59 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Mon, Mar 14, 2011 at 2:22 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 7:47 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 13, 2011 at 8:23 PM, Mark Wiebe

[Numpy-discussion] doc wiki edit rights (was: Inaccuracy in documentation of np.linalg.pinv)

2011-03-14 Thread Ralf Gommers
On Sat, Mar 12, 2011 at 10:50 AM, Hao Xiong h...@biostat.ucsf.edu wrote: Hi Ralf, I am happy to edit it, although I will have to do it later as I won't have much free time recently. I have registered as haoxiong on docs.scipy.org and would like to request edit rights to the pinv page. Hi,

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread John Salvatier
If they return a tuple of indexes I think 'mulitiindex' sounds quite good. That is exactly what a multiindex is ( http://en.wikipedia.org/wiki/Multi-index_notation). On Mon, Mar 14, 2011 at 1:14 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 11:59 PM, Ralf Gommers

Re: [Numpy-discussion] Numeric 24.2 incompatible with Windows7 SP1

2011-03-14 Thread Douglas Ronne
Frank Conradie frank at qfin.net writes: Hi I know Numeric 24.2 is really old and probably unsupported by now, but I thought it might be of interest that Service Pack 1 for Windows 7 has broken Numeric 24.2. [pruned] Thanks! Frank Conradie Yes, I have had the exact same error,

Re: [Numpy-discussion] תשובה: [OT] any image io module that works with python3?

2011-03-14 Thread Stéfan van der Walt
On Mon, Mar 14, 2011 at 9:55 AM, Nadav Horesh nad...@visionsense.com wrote: The instillation is OK. The problem is that on my wok PC I do not have PIL installed. So: Thanks, you are right of course: no plugin should be required upon import. I now put the use_plugin statement inside a try:

Re: [Numpy-discussion] Numeric 24.2 incompatible with Windows7 SP1

2011-03-14 Thread Frank Conradie
Hi Douglas, simply recompiling the affected modules fixes this issue for me, but unfortunately for me I am having trouble recompiling some old 3rd party compiled libraries. What are the chances all module owners/maintainers will go back and recompile their Python 2.3/2.4 modules - not very

Re: [Numpy-discussion] rewriting NumPy code in C or C++ or similar

2011-03-14 Thread Jason McCampbell
Hi Dan, I am just catching up with the mailing list after falling behind getting a release. I am the PM for Enthought's part of refactoring NumPy. The first phase of the refactoring project is done except for some clean up and the new version of NumPy is quite stable. (25 regression failures

Re: [Numpy-discussion] תשובה: [OT] any image io module that works with python3?

2011-03-14 Thread Nadav Horesh
After the following corrections, it works on both 2.7 and 3.1 python versions. My limited test included: python2.7: imread and imshow usng pil, freeimage and qt python3.1 imread via freeimage and imshow via qt Thank you very much, Nadav (The file _build.patch is a patch for _build.py)

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-14 Thread Christoph Gohlke
On 3/12/2011 9:56 PM, Nadav Horesh wrote: This lead to another error probably due to line 68 in map.h. As much as I could trace it, ob_type is a member of PyObject, not of PyTypeObject. I have no clue how to resolve this. I just tried PIL-1.1.7-py3 on an Ubuntu 64 bit system: after one

Re: [Numpy-discussion] rewriting NumPy code in C or C++ or similar

2011-03-14 Thread Ondrej Certik
Hi Sturla, On Tue, Mar 8, 2011 at 6:25 AM, Sturla Molden stu...@molden.no wrote: Den 08.03.2011 05:05, skrev Dan Halbert: Thanks, that's a good suggestion. I have not written Fortran since 1971, but it's come a long way. I was a little worried about the row-major vs column-major issue, but

Re: [Numpy-discussion] how to compile Fortran using setup.py

2011-03-14 Thread Ondrej Certik
Hi Pearu! On Sat, Mar 12, 2011 at 2:30 AM, Pearu Peterson pearu.peter...@gmail.com wrote: On Fri, Mar 11, 2011 at 3:58 AM, Ondrej Certik ond...@certik.cz wrote: Hi, I spent about an hour googling and didn't figure this out. Here is my setup.py: setup(    name = libqsnake,    cmdclass

Re: [Numpy-discussion] how to compile Fortran using setup.py

2011-03-14 Thread Robert Bradshaw
On Mon, Mar 14, 2011 at 1:44 PM, Ondrej Certik ond...@certik.cz wrote: Hi Pearu! On Sat, Mar 12, 2011 at 2:30 AM, Pearu Peterson pearu.peter...@gmail.com wrote: On Fri, Mar 11, 2011 at 3:58 AM, Ondrej Certik ond...@certik.cz wrote: Hi, I spent about an hour googling and didn't figure

Re: [Numpy-discussion] Not importing polynomial implementation functions by default

2011-03-14 Thread Charles R Harris
On Sun, Mar 13, 2011 at 5:01 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Sun, Mar 13, 2011 at 1:57 PM, David Warde-Farley warde...@iro.umontreal.ca wrote: On 2011-03-12, at 9:32 PM, Charles R Harris wrote: I'd like to change the polynomial package to only import the Classes,

[Numpy-discussion] Fortran was dead ... [was Re: rewriting NumPy code in C or C++ or similar]

2011-03-14 Thread Sebastian Haase
On Mon, Mar 14, 2011 at 9:24 PM, Ondrej Certik ond...@certik.cz wrote: Hi Sturla, On Tue, Mar 8, 2011 at 6:25 AM, Sturla Molden stu...@molden.no wrote: Den 08.03.2011 05:05, skrev Dan Halbert: Thanks, that's a good suggestion. I have not written Fortran since 1971, but it's come a long way.

Re: [Numpy-discussion] Fortran was dead ... [was Re: rewriting NumPy code in C or C++ or similar]

2011-03-14 Thread Matthieu Brucher
Hi, Intel Fortran is an excellent Fortran compiler. Why is Fortran still better than C and C++? - some rules are different, like arrays passed to functions are ALWAYS supposed to be independent in Fortran, whereas in C, you have to add a restrict keyword - due to the last fact, Fortran is a

Re: [Numpy-discussion] תשובה: [OT] any image io module that works with python3?

2011-03-14 Thread Stéfan van der Walt
On Mon, Mar 14, 2011 at 8:04 PM, Nadav Horesh nad...@visionsense.com wrote: After the following corrections, it works on both 2.7 and 3.1 python versions. My limited test included: python2.7: imread and imshow usng pil, freeimage and qt python3.1 imread via freeimage and imshow via qt

Re: [Numpy-discussion] doc wiki edit rights (was: Inaccuracy in documentation of np.linalg.pinv)

2011-03-14 Thread Stéfan van der Walt
Hi Ralf On Mon, Mar 14, 2011 at 10:28 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, can someone with permissions on the doc server give Hao Xiong edit rights? You now have admin status. I've also set Hao up as an editor. Regards Stéfan ___

[Numpy-discussion] finding atlas

2011-03-14 Thread Mag Gam
Trying to compile Numpy with Intel's MKL. I have exported the proper paths for BLAS and LAPACK and I think the build script found it. However, I am having a lot of trouble with ATLAS. What library file should I use for it? tia ___ NumPy-Discussion

[Numpy-discussion] sage: isscalar can't hear quacks

2011-03-14 Thread D. S. McNeil
(Sending upstream from http://trac.sagemath.org/sage_trac/ticket/10928) sage: import numpy sage: m = numpy.matrix(numpy.arange(6)).reshape(3,2) sage: m[:,int(0)] matrix([[0], [2], [4]]) sage: m[:,0] matrix([[0, 2, 4]]) That is, Python ints produce a column but Sage Integers

[Numpy-discussion] Add New Functionality for Indexing Along an Axis to Numpy?

2011-03-14 Thread Jonathan Taylor
Please excuse the double post as I suspect people who may have thoughts on the inclusion of such functionality in numpy were not following the discussion due to the old subject. I am perfectly happy keeping this functionality locally but some of my colleagues have also indicated that they have

Re: [Numpy-discussion] Add New Functionality for Indexing Along an Axis to Numpy?

2011-03-14 Thread John Salvatier
The new iteration functionality will be providing this in the near future (along with many other things). See https://github.com/numpy/numpy/blob/master/doc/neps/new-iterator-ufunc.rst On Mon, Mar 14, 2011 at 6:30 PM, Jonathan Taylor jonathan.tay...@utoronto.ca wrote: Please excuse the double

Re: [Numpy-discussion] Not importing polynomial implementation functions by default

2011-03-14 Thread Ralf Gommers
On Tue, Mar 15, 2011 at 5:41 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sun, Mar 13, 2011 at 5:01 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 13, 2011 at 1:57 PM, David Warde-Farley warde...@iro.umontreal.ca wrote: On 2011-03-12, at 9:32 PM, Charles R

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread Ralf Gommers
On Mon, Mar 14, 2011 at 9:11 PM, John Salvatier jsalv...@u.washington.edu wrote: If they return a tuple of indexes I think 'mulitiindex' sounds quite good. That is exactly what a multiindex is (http://en.wikipedia.org/wiki/Multi-index_notation). On Mon, Mar 14, 2011 at 1:14 AM, Mark Wiebe

Re: [Numpy-discussion] finding atlas

2011-03-14 Thread Ralf Gommers
On Tue, Mar 15, 2011 at 8:12 AM, Mag Gam magaw...@gmail.com wrote: Trying to compile Numpy with Intel's MKL. I have exported the proper paths for BLAS and LAPACK and I think the build script found it. However, I am having a lot of trouble with ATLAS. What library file should I use for it?

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-14 Thread Mark Wiebe
On Mon, Mar 14, 2011 at 8:24 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Mon, Mar 14, 2011 at 9:11 PM, John Salvatier jsalv...@u.washington.edu wrote: If they return a tuple of indexes I think 'mulitiindex' sounds quite good. That is exactly what a multiindex is