Re: [Numpy-discussion] Will f2py ever be used in numpy ?

2008-03-09 Thread David Cournapeau
On Sun, 2008-03-09 at 23:11 -0500, Robert Kern wrote: > > Almost certainly f2py will never be used to build any part of numpy > itself because we will not include something that requires a FORTRAN > compiler to build numpy. Can't f2py be used to wrap C code, too ? cheers, David ___

Re: [Numpy-discussion] eigenvector and eigenface

2008-03-09 Thread Peter Skomoroch
See this thread: http://www.mail-archive.com/numpy-discussion@scipy.org/msg06877.html On Mon, Mar 10, 2008 at 1:37 AM, royG <[EMAIL PROTECTED]> wrote: > friends > I am learning eigenfaces using numpy . i use data from N images and > create eigenvectors to get a 'sorted eigenvectors' array of si

Re: [Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread Charles R Harris
On Sun, Mar 9, 2008 at 2:57 AM, mani sabri <[EMAIL PROTECTED]> wrote: > Hello > > Is it possible to create a numpy array from an array of a C structure like > this? > > struct RateInfo > { > unsigned int ctm; > doubleopen; > doublelow; > doublehigh

[Numpy-discussion] eigenvector and eigenface

2008-03-09 Thread royG
friends I am learning eigenfaces using numpy . i use data from N images and create eigenvectors to get a 'sorted eigenvectors' array of size N X N. when i project the 'zero mean imagedata' i will get a facespace array of N X numpixels. (where numpixels is total pixels in one image) is eigenface t

Re: [Numpy-discussion] Will f2py ever be used in numpy ?

2008-03-09 Thread Robert Kern
On Sun, Mar 9, 2008 at 10:49 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Hi, > > I have some problems with the f2py tool for numscons, or more exactly, > some limitations related to thread handling in python means that I may > not be able to reliably use f2py as a python module in n

[Numpy-discussion] Will f2py ever be used in numpy ?

2008-03-09 Thread David Cournapeau
Hi, I have some problems with the f2py tool for numscons, or more exactly, some limitations related to thread handling in python means that I may not be able to reliably use f2py as a python module in numscons in a thread-safe manner. So I am thinking about using f2py from the command-line

Re: [Numpy-discussion] behavior of masked arrays

2008-03-09 Thread Pierre GM
On Sunday 09 March 2008 13:35:27 Giorgio F. Gilestro wrote: > Pierre, I did some adjusting to some of the functions in > scipy.stats.stats and more I am planning to do - not all but those I'll > need I am afraid. Is it ok if I send you what I'll have so that you have > a look at it (at your conven

Re: [Numpy-discussion] behavior of masked arrays

2008-03-09 Thread Giorgio F. Gilestro
Ok generic functions and a ma.stats specific module sounds very good to me. Hope is going to happen for ma are a great plus. Pierre, I did some adjusting to some of the functions in scipy.stats.stats and more I am planning to do - not all but those I'll need I am afraid. Is it ok if I send you

Re: [Numpy-discussion] Create a numpy array from an array of a Cstructure

2008-03-09 Thread mani sabri
Sorry for the outburst of emotions! I deeply regret the word "crap" :(. Just wanted to say thank you! :) Mani >-Original Message- >From: [EMAIL PROTECTED] [mailto:numpy-discussion- >[EMAIL PROTECTED] On Behalf Of Robert Kern >Sent: Sunday, March 09, 2008 12:45 PM >To: Discussion of Numeric

Re: [Numpy-discussion] Create a numpy array from an array of a Cstructure

2008-03-09 Thread mani sabri
I don't want to disturb the list with this kind of crap but I can't hold my self to tell how much I love you guys! >-Original Message- >From: [EMAIL PROTECTED] [mailto:numpy-discussion- >[EMAIL PROTECTED] On Behalf Of Robert Kern >Sent: Sunday, March 09, 2008 12:45 PM >To: Discussion of Nu

Re: [Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread Robert Kern
On Sun, Mar 9, 2008 at 2:57 AM, mani sabri <[EMAIL PROTECTED]> wrote: > Hello > > Is it possible to create a numpy array from an array of a C structure like > this? > > struct RateInfo > { >unsigned int ctm; >doubleopen; >doublelow; >double

[Numpy-discussion] Create a numpy array from an array of a C structure

2008-03-09 Thread mani sabri
Hello Is it possible to create a numpy array from an array of a C structure like this? struct RateInfo { unsigned int ctm; doubleopen; doublelow; doublehigh; doubleclose; doublevol; }; I am embedding python in