Re: [Numpy-discussion] inconsistent dtype promotion in dimensionless arrays

2007-04-05 Thread Travis Oliphant
Matthew Koichi Grimes wrote: >I've noticed two dtype promotion behaviors that are surprising to me. >I'm hoping to get people's input as to whether I should file bug tickets >on them. > > Short answer: No, they are not bugs. The rule is: In any mixed-type operation between two objects of t

Re: [Numpy-discussion] inconsistent dtype promotion in dimensionless arrays

2007-04-05 Thread Robert Kern
Matthew Koichi Grimes wrote: > I've noticed two dtype promotion behaviors that are surprising to me. > I'm hoping to get people's input as to whether I should file bug tickets > on them. > > First weirdness: > When you do an operation between a float32 Numpy array and a python or > Numpy float6

[Numpy-discussion] inconsistent dtype promotion in dimensionless arrays

2007-04-05 Thread Matthew Koichi Grimes
I've noticed two dtype promotion behaviors that are surprising to me. I'm hoping to get people's input as to whether I should file bug tickets on them. First weirdness: When you do an operation between a float32 Numpy array and a python or Numpy float64, the result is a float32 array, not a flo

Re: [Numpy-discussion] Identification of neighbouring sites for a periodic numpy array

2007-04-05 Thread Bill Baxter
On 4/4/07, Andy Cheesman <[EMAIL PROTECTED]> wrote: > Hi people, > > I was wondering if people could give me a pointer or two upon the > efficient identification of neighbouring sites for a given point upon a > numpy array which has periodic conditions. > Suggestions upon the web I've seen seem to

Re: [Numpy-discussion] question about standalone small software and teaching

2007-04-05 Thread Gael Varoquaux
On Thu, Apr 05, 2007 at 04:24:01PM -0400, Alan G Isaac wrote: > On Thu, 5 Apr 2007, Gael Varoquaux apparently wrote: > > Actually I do it the other way around nowadays. > Except in the tutorial? Yes, shame on me, I changed policy after writing it. I guess I should correct it. I'll add this to m

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Robert Kern
Keith Goodman wrote: > On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: >> There have been significant improvements to the Core >> Duo 2 code in ATLAS releases [snip] > > What kind of speed up are people seeing with Core 2 Duo aware ATLAS? Oh, and from the first release with Core 2 support: """

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Robert Kern
Keith Goodman wrote: > On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: >> There have been significant improvements to the Core >> Duo 2 code in ATLAS releases [snip] > > What kind of speed up are people seeing with Core 2 Duo aware ATLAS? >From the announcements on math-atlas-devel: """ 3.7.17

Re: [Numpy-discussion] question about standalone small software and teaching

2007-04-05 Thread Alan G Isaac
On Thu, 5 Apr 2007, Gael Varoquaux apparently wrote: > Actually I do it the other way around nowadays. Except in the tutorial? But anyway, I'm willing to try anything that gets them moving. It is true that avoiding the appearance of complexity can sometimes add complexity. Cheers, Alan Isaac

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Keith Goodman
On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: > There have been significant improvements to the Core > Duo 2 code in ATLAS releases [snip] What kind of speed up are people seeing with Core 2 Duo aware ATLAS? ___ Numpy-discussion mailing list Numpy-di

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Robert Kern
Christopher Barker wrote: > Robert Kern wrote: >> Yup. I haven't yet been able to build a Universal ATLAS library that works, >> so >> we're stuck with Accelerate. > > Is that a bad thing? It seems like Apple is in the position to do it > right, and have a differently tuned version for each of t

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Keith Goodman
On 4/5/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > If only MS would supply BLAS/LAPACK. Yeah, too bad more people don't use atlas. Then MS would embrace atlas, extend it, and...I forget the last step. ___ Numpy-discussion mailing list Numpy-discu

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Christopher Barker
Robert Kern wrote: > Yup. I haven't yet been able to build a Universal ATLAS library that works, so > we're stuck with Accelerate. Is that a bad thing? It seems like Apple is in the position to do it right, and have a differently tuned version for each of their hardware. If only MS would supply

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread Robert Kern
Christopher Barker wrote: > A question: > lapack_lite.so is linked against: > > /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate > > Does that mean the Apple-supplied BLAS/LAPACK is being used? Yup. I haven't yet been able to build a Universal ATLAS library that works, so w

Re: [Numpy-discussion] Big list of Numpy & Scipy users

2007-04-05 Thread Robert Kern
Christopher Barker wrote: > David L Goldsmith wrote: >> Sebastian Haase wrote: >>> Maybe the projects should be in categories: >>> - open source >>> - commercial (?) >>> - papers > > Maybe we need a section called "organizations" or something. If you don't think you fit into any of the categori

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread David M. Cooke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Barker wrote: > Just a quick comment. > > I just built 1.0.2 on my OS-X box, and it took me entirely too long to > figure out how to run the tests. I suggest something like: > > "" > after installing, to run the numpy unit tests, you can

[Numpy-discussion] how to run the tests.

2007-04-05 Thread Christopher Barker
Just a quick comment. I just built 1.0.2 on my OS-X box, and it took me entirely too long to figure out how to run the tests. I suggest something like: "" after installing, to run the numpy unit tests, you can run: import numpy numpy.test() """ be added to the readme after the instructions on

Re: [Numpy-discussion] Big list of Numpy & Scipy users

2007-04-05 Thread Christopher Barker
David L Goldsmith wrote: > Sebastian Haase wrote: >> Maybe the projects should be in categories: >> - open source >> - commercial (?) >> - papers Maybe we need a section called "organizations" or something. We use numpy a lot around here, but, so far, only for small in-house tools that we can'

Re: [Numpy-discussion] Big list of Numpy & Scipy users

2007-04-05 Thread Andrew Straw
Bill Baxter wrote: > On 4/4/07, Robert Kern <[EMAIL PROTECTED]> wrote: > >> Bill Baxter wrote: >> >>> Is there any place on the Wiki that lists all the known software that >>> uses Numpy in some way? >>> >>> It would be nice to start collecting such a list if there isn't one >>>

Re: [Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Zdeněk Hurák
Robert Kern wrote: > Zdeněk Hurák wrote: [...] >> I want to create Python modules from some Fortran numerical functions >> that rely on LAPACK. [...] >> However, when trying to import the module, Python cries that there is and >> undefined symbol: sb02mw_. [...] > What FORTRAN compiler are you

Re: [Numpy-discussion] question about standalone small software and teaching

2007-04-05 Thread Gael Varoquaux
On Thu, Apr 05, 2007 at 01:36:28PM -0400, Alan G Isaac wrote: > On Thu, 05 Apr 2007, Christopher Barker apparently wrote: > > I think, in a situation when you are intending the class > > attribute to be over-ridden by an instance attribute, then > > it's clearer to define it as an instance attri

Re: [Numpy-discussion] question about standalone small software and teaching

2007-04-05 Thread Alan G Isaac
On Thu, 05 Apr 2007, Christopher Barker apparently wrote: > I think, in a situation when you are intending the class > attribute to be over-ridden by an instance attribute, then > it's clearer to define it as an instance attribute in the > first place: This is true of course. BUT I am with Ga

Re: [Numpy-discussion] Big list of Numpy & Scipy users

2007-04-05 Thread Ray S
How's this, for under Applications? CV-mini The CV-mini is a signal analyzer written in Python, NumPy, and wxPython. It is a high-speed, general-purpose, multi-channel FFT instrument available in 3 versions (so far). Link: http://cognitivevision.com/CVmini.htm Which reminds me, we should add P

Re: [Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Robert Kern
Zdeněk Hurák wrote: > I am sorry to come up with a question that probably has been asked and > answered many times but I honestly searched for an answer but failed to > find one. > > I want to create Python modules from some Fortran numerical functions that > rely on LAPACK. I start with a functio

Re: [Numpy-discussion] Big list of Numpy & Scipy users

2007-04-05 Thread David L Goldsmith
Sebastian Haase wrote: > Maybe the projects should be in categories: > - open source > - commercial (?) > - papers > - ?? > I agree: I'm using numpy in two of my projects, but these are likely to have a small, specialized and self-contained user base indefinitely, so I'm a little "shy" about

Re: [Numpy-discussion] numpy-1.0.2 installation error

2007-04-05 Thread Travis Oliphant
Myhuong Nguyen wrote: >Hi, > >I have tried to install numpy-1.0.2 on my SGI (irix6.5) using command >"python setup.py install" and received the following error message: > >File "numpy/core/setup.py", line 48, in generate_config_h > raise "ERROR: Failed to test configuration" >ERROR: Failed to te

Re: [Numpy-discussion] numpy-1.0.2 installation error

2007-04-05 Thread Charles R Harris
On 4/4/07, Myhuong Nguyen <[EMAIL PROTECTED]> wrote: Hi, I have tried to install numpy-1.0.2 on my SGI (irix6.5) using command "python setup.py install" and received the following error message: File "numpy/core/setup.py", line 48, in generate_config_h raise "ERROR: Failed to test configurat

Re: [Numpy-discussion] question about standalone small software and teaching

2007-04-05 Thread Christopher Barker
Gael Varoquaux wrote: > I have recently > started avoided using class attributes when not necessary, I agree. I use class attributes when I need, well, class attributes. That is an attribute that is shared by all the instances of the class. In fact, in the example: class A: x = 4 A_instanc

Re: [Numpy-discussion] [SciPy-user] Big list of Numpy & Scipy users

2007-04-05 Thread oliver . tomic
Hi list, I've put out our project on the scipy project site. Hopefully, this will become a very long list. Oliver [EMAIL PROTECTED] wrote on 05.04.2007 04:10:28: > On 4/4/07, Robert Kern <[EMAIL PROTECTED]> wrote: > > Bill Baxter wrote: > > > Is there any place on the Wiki that lists all the k

[Numpy-discussion] numpy-1.0.2 installation error

2007-04-05 Thread Myhuong Nguyen
Hi, I have tried to install numpy-1.0.2 on my SGI (irix6.5) using command "python setup.py install" and received the following error message: File "numpy/core/setup.py", line 48, in generate_config_h raise "ERROR: Failed to test configuration" ERROR: Failed to test configuration What does the

[Numpy-discussion] Identification of neighbouring sites for a periodic numpy array

2007-04-05 Thread Andy Cheesman
Hi people, I was wondering if people could give me a pointer or two upon the efficient identification of neighbouring sites for a given point upon a numpy array which has periodic conditions. Suggestions upon the web I've seen seem to use lots of loops which does not seem to be the most economical

[Numpy-discussion] [ANN] EuroPython 2007: Call for Proposals

2007-04-05 Thread Nicolas Chauvat
Book Monday 9th July to Wednesday 11th July 2007 in your calendar! EuroPython 2007, the European Python and Zope Conference, will be held in Vilnius, Lithuania. Last year's conference was a great success, featuring a variety of tracks, amazing lightning talks and inspiring keynotes. With your par

[Numpy-discussion] F2PY and underscore problem

2007-04-05 Thread Zdeněk Hurák
I am sorry to come up with a question that probably has been asked and answered many times but I honestly searched for an answer but failed to find one. I want to create Python modules from some Fortran numerical functions that rely on LAPACK. I start with a function SB02MD.f that provides a solve

Re: [Numpy-discussion] nd_image.affine_transform edge effects

2007-04-05 Thread Stefan van der Walt
Hi James On Wed, Apr 04, 2007 at 08:29:50PM -0400, James Turner wrote: > > It looks like the last output value is produced by reflecting the > > input and then interpolating, but presumably then the first value > > should be 3.9, for consistency, not 3.1? Does that make sense? > > Aargh. I thi