Re: [Numpy-discussion] labeled axes

2011-05-27 Thread Fernando Perez
On Thu, May 26, 2011 at 6:36 PM, Craig Yoshioka 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 much simpler to implement (dataarray does > a lo

Re: [Numpy-discussion] How to fix my data for visualize with Mayavi2 and to use TVTK?

2011-05-27 Thread Warren Weckesser
On Fri, May 27, 2011 at 9:07 PM, Aradenatorix Veckhom Vacelaevus < arad...@gmail.com> wrote: > Hi again: > > Well, finally I solved my troubles with the importation of data from the > Fortran files I've mentioned here few weeks ago... but the importation using > the VTK legacy formats doesn't work

[Numpy-discussion] How to fix my data for visualize with Mayavi2 and to use TVTK?

2011-05-27 Thread Aradenatorix Veckhom Vacelaevus
Hi again: Well, finally I solved my troubles with the importation of data from the Fortran files I've mentioned here few weeks ago... but the importation using the VTK legacy formats doesn't works... I have not idea how to build the LUT (Look up table) for my case and... I'm not sure if that's the

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-27 Thread Christopher Barker
On 5/27/11 9:48 AM, Michael Katz wrote: > I have a numpy array, records, with named fields including a field named > "integer_field". I have an array (or list) of values of interest, and I > want to get the indexes where integer_field has any of those values. > > Because I can do > > indexes = np.w

Re: [Numpy-discussion] Numpy question

2011-05-27 Thread Christopher Barker
On 5/27/11 11:06 AM, Talla wrote: > I am using python24 and Numeric under windows XP and I am trying to > create *.agr file from *.dbs file, I followed the instructions very > carefully and every time I am getting the following message: > Traceback (most recent call last): >File "AbinitBandStru

Re: [Numpy-discussion] Contribution

2011-05-27 Thread Dmitriy Rybalkin
All right, thank you very much for this information On Fri, May 27, 2011 at 10:41 PM, Pauli Virtanen wrote: > Hi, > > On Fri, 27 May 2011 21:47:24 +0400, Dmitriy Rybalkin wrote: >> My name is Dmitriy and I'am a computer science master student of >> Australian National University and, to be honest

Re: [Numpy-discussion] Contribution

2011-05-27 Thread Pauli Virtanen
Hi, On Fri, 27 May 2011 21:47:24 +0400, Dmitriy Rybalkin wrote: > My name is Dmitriy and I'am a computer science master student of > Australian National University and, to be honest, not a good > programmer, though I found that Numpy/Scipy project has a good > Cookbook and I thought I could contri

[Numpy-discussion] Numpy question

2011-05-27 Thread Talla
Hello Sir: I am using python24 and Numaric under windows XP and I am trying to create *.agr file from *.dbs file, I followed the instructions very carefully and every time I am getting the following message: Traceback (most recent call last): File "AbinitBandStructuremaker.py", line 1274, in ?

[Numpy-discussion] Contribution

2011-05-27 Thread Dmitriy Rybalkin
Greeting the community of Numpy project My name is Dmitriy and I'am a computer science master student of Australian National University and, to be honest, not a good programmer, though I found that Numpy/Scipy project has a good Cookbook and I thought I could contribute to the Numpy project by show

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

2011-05-27 Thread Ralf Gommers
On Fri, May 27, 2011 at 2:45 AM, akshar bhosale wrote: > 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

Re: [Numpy-discussion] finding elements that match any in a set

2011-05-27 Thread Skipper Seabold
On Fri, May 27, 2011 at 12:48 PM, Michael Katz wrote: > I have a numpy array, records, with named fields including a field named > "integer_field". I have an array (or list) of values of interest, and I want > to get the indexes where integer_field has any of those values. > > Because I can do > >

[Numpy-discussion] finding elements that match any in a set

2011-05-27 Thread Michael Katz
I have a numpy array, records, with named fields including a field named "integer_field". I have an array (or list) of values of interest, and I want to get the indexes where integer_field has any of those values. Because I can do indexes = np.where( records.integer_field > 5 ) I thought I

[Numpy-discussion] Adding the arrays in an array iterator

2011-05-27 Thread srean
Hi List, I have to sum up an unknown number of ndarrays of the same size. These arrays, possibly thousands in number, are provided by an iterator. Right now I use python reduce with operator.add. Does that invoke the corresponding ufunc internally, I want to avoid creating temporaries. With ufunc