[Numpy-discussion] Numpy question

2011-05-26 Thread Talla
Hello I installed python2.7 and numpy on windows XP and the installation goes very smooth, now when I am trying to run a python script to get the band structure I got the following message: C:\Python27python AbinitBandStructureMaker.py Traceback (most recent call last): File

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Pauli Virtanen
Thu, 26 May 2011 11:37:38 +0300, Talla wrote: [clip] C:\Python27python AbinitBandStructureMaker.py Traceback (most recent call last): File AbinitBandStructureMaker.py, line 16, in module from Numeric import * ImportError: No module named Numeric C:\Python27 In addition when I run

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Scott Sinclair
On 26 May 2011 10:37, Talla jta...@gmail.com wrote: C:\Python27 In addition when I run import command I got ('import' is not recognized as an internal or external command, operable program or batch file.) import is not a command you can run at your command line, it's part of Python. Do

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Talla
Hello Below is the output of the coammands you mentioned. C:\python Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit (Intel)] on win3 Type help, copyright, credits or license for more information. import numpy print(numpy.arange(3)) [0 1 2] Which looks to me it is working

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Pauli Virtanen
Thu, 26 May 2011 12:04:29 +0300, Talla wrote: [clip] however I tried to install numeric and python 2.4 as you suggested and I got a new error message: C:\Python24python AbinitBandStructureMaker.py 'import site' failed; use -v for traceback Traceback (most recent call last): File

Re: [Numpy-discussion] labeled axes

2011-05-26 Thread Wes McKinney
On Tue, May 24, 2011 at 6:39 PM, Craig Yoshioka crai...@me.com wrote: Hi all, I've read some discussions about adding labeled axes, and even ticks, to numpy arrays  (such as in Luis' dataarray). I have recently found that the ability to label axes would be very helpful to me, but I'd like to

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Derek Homeier
On 26 May 2011, at 11:17, Talla wrote: Below is the output of the coammands you mentioned. C:\python Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit (Intel)] on win3 Type help, copyright, credits or license for more information. import numpy print(numpy.arange(3))

Re: [Numpy-discussion] Numpy question

2011-05-26 Thread Bruce Southey
On 05/26/2011 10:13 AM, Derek Homeier wrote: On 26 May 2011, at 11:17, Talla wrote: Below is the output of the coammands you mentioned. C:\python Python 2.6.2 (r262:71600, Jul 7 2009, 20:21:09) [MSC v.1500 32 bit (Intel)] on win3 Type help, copyright, credits or license for more

Re: [Numpy-discussion] Numpy steering group?

2011-05-26 Thread Matthew Brett
Hi, On Wed, May 4, 2011 at 9:24 AM, Robert Kern robert.k...@gmail.com wrote: On Wed, May 4, 2011 at 11:14, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, May 3, 2011 at 7:58 PM, Robert Kern robert.k...@gmail.com wrote: I can't speak for the rest of the group, but as for myself, if

[Numpy-discussion] problem with installation of numpy+scipy on intel platform

2011-05-26 Thread akshar bhosale
Hi, we have machine having intel xeon x7350 processors(8 nos) and RHEL 5.2 x86_64 with kernel 2.6.18-92.el5. We have following configuration : /opt/intel/Compiler/11.0/069/mkl/lib/em64t Now we want to install numpy and scipy as an user in my home directory. Following are the libraries build

Re: [Numpy-discussion] labeled axes

2011-05-26 Thread Craig Yoshioka
Thanks, I will. I was just seeing if there was any intention of adding this to type of support to numpy directly. It would be faster, and I'm sure it would make projects like dataarray much simpler to implement (dataarray does a lot more than my suggestion). On May 26, 2011, at 4:53 AM, Wes

Re: [Numpy-discussion] labeled axes

2011-05-26 Thread John Salvatier
I'm glad datarray is still active. :) On Thu, May 26, 2011 at 6:36 PM, Craig Yoshioka crai...@me.com wrote: Thanks, I will. I was just seeing if there was any intention of adding this to type of support to numpy directly. It would be faster, and I'm sure it would make projects like dataarray

[Numpy-discussion] Extending dimensions of a matrix

2011-05-26 Thread santhu kumar
Hello All, I am trying to extend a piece of matlab code into numpy. And I am stuck at converting, ( x is a nX3 matrix) Matlab : dim = size(x,1) % would be n nx = x(:,:,ones(1,dim)) % would be nX3Xn matrix .. Now the same in Numpy seems to be tricky to me .. Can somebody help me in writing this

Re: [Numpy-discussion] Extending dimensions of a matrix

2011-05-26 Thread Robert Kern
On Thu, May 26, 2011 at 21:52, santhu kumar mesan...@gmail.com wrote: Hello All, I am trying to extend a piece of matlab code into numpy. And I am stuck at converting, ( x is a nX3 matrix) Matlab : dim = size(x,1) % would be n nx = x(:,:,ones(1,dim)) % would be nX3Xn matrix .. Now the

Re: [Numpy-discussion] Numpy steering group?

2011-05-26 Thread Pearu Peterson
Hi, Would it be possible to setup a signing system where anyone who would like to support Clint could sign and advertise the system on relevant mailing lists? This would provide larger body of supporters for this letter and perhaps will have greater impact to whom the letter will be addressed.

Re: [Numpy-discussion] Numpy steering group?

2011-05-26 Thread Matthew Brett
Hi, On Thu, May 26, 2011 at 9:32 PM, Pearu Peterson pearu.peter...@gmail.com wrote: Hi, Would it be possible to setup a signing system where anyone who would like to support Clint could sign and advertise the system on relevant mailing lists? This would provide larger body of supporters for

Re: [Numpy-discussion] Numpy steering group?

2011-05-26 Thread Matthew Brett
Oh sorry and: On Thu, May 26, 2011 at 2:03 PM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Wed, May 4, 2011 at 9:24 AM, Robert Kern robert.k...@gmail.com wrote: On Wed, May 4, 2011 at 11:14, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Tue, May 3, 2011 at 7:58 PM, Robert

Re: [Numpy-discussion] Numpy steering group?

2011-05-26 Thread Pearu Peterson
On Fri, May 27, 2011 at 7:39 AM, Matthew Brett matthew.br...@gmail.comwrote: Hi, On Thu, May 26, 2011 at 9:32 PM, Pearu Peterson pearu.peter...@gmail.com wrote: Hi, Would it be possible to setup a signing system where anyone who would like to support Clint could sign and advertise