Re: [Numpy-discussion] PCA - Principal Component Analysis

2007-06-25 Thread Giorgio Luciano
I've done a version of nipals algorithm in python (i'ts a translation of a matlab routine in brereton made by Riccardo Leardi). far from perfect (my transport i mean) but working (I've tested on my datasets and it runned ok) you can download it at www.chemometrics.it. Hope it will help and if yo

[Numpy-discussion] signal processing chapter for book

2007-06-04 Thread Giorgio Luciano
first of all sorry for cross posting As I wrote some time ago we are trying to write a book proposal about the use of python/scipy/numpy in chemometrics and analytical chemistry. Since now I've received positive answer from eight authors and the only "missing" chapter is one about the use of pyt

[Numpy-discussion] call for chapeters in a book about freeware/opensource in chemometrics

2007-05-15 Thread Giorgio Luciano
ll around Giorgio P.S.: (sorry for cross posting) -- -==- Dr Giorgio Luciano Ph.D. Di.C.T.F.A. Dipartimento di Chimica e Tecnologie Farmaceutiche e Alimentari Via Brigata Salerno (ponte) - 16147 Genova (GE) - Italy email [EMAIL PROTECTED] www.chemometrics.it -==- __

Re: [Numpy-discussion] very large matrices.

2007-05-14 Thread Giorgio Luciano
If you are using it for making a PCA, why dont' you try to use nipals algorithm ? (probably a silly question , just wanted to give help :) Giorgio > > ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listi

Re: [Numpy-discussion] matlab vs. python question

2007-05-08 Thread Giorgio Luciano
Thanks Gael, I dont' use Ipython, but Ide in interactive mode and everything is fine (changed matplotlibrc and then se switch on in configuration). I just meant hat if you dont' know it or dont' pay attention to start with the correct shortcut etc. etc. you dont' have an "immediate" interactive

Re: [Numpy-discussion] matlab vs. python question

2007-05-08 Thread Giorgio Luciano
All good points stated here. Unfortunatly I'm not able to contribute, and as stated also in other thread, scipy/python was not born for being a clone of matlab (uhmm well probably matplotlib at first was). What would be the "killer" distro for matlab ? An updated distro with numpy/scipy/matplotl

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

2007-04-04 Thread Giorgio Luciano
Thanks for the reply I will sure try to use it and so some small software. Giorgio ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

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

2007-04-03 Thread Giorgio Luciano
Hello Dear All, I just have a question for all that uses python/numpy/scipy/matplotlib for making science. I use with no problem in my computer python+numpy+scipy+matplotlib and I'm very satisfied with them. I was a matlab user. I still not have unearthed the power ot python but I'm happy to u

[Numpy-discussion] odd installation problem of numpy/matplotlib

2007-03-29 Thread Giorgio Luciano
Sorry if the message will arrive in duplicate I had some problem with posting in the mailing list I've installed in my machine in the following order python 2.5 numpy 1.01 matplot lib 0.87 scipy 0.52 wxPython 2.8 with no problem I've also installed the same packages at home and in another two co

[Numpy-discussion] Very odd problem of installation of matplotlib/numpy on XP

2007-03-29 Thread Giorgio Luciano
I've installed in my machine in the following order python 2.5 numpy 1.01 matplot lib 0.87 scipy 0.52 wxPython 2.8 with no problem I've also installed the same packages at home and in another two computer and everything went fine. The I was asked to install this "configuaration" in some classroom

[Numpy-discussion] matlab, idle, interactivity and teaching

2007-03-28 Thread Giorgio Luciano
Hello to all, I've thread that apperead some time ago on this list about matlab and teaching. I've discovered python recently and translated part of the routine I use in python (www.chemometrics.it). Some of my collegue asked me if I could show them how to use python. For matlab user I guess th

[Numpy-discussion] new repository for free software and forum community started

2007-03-05 Thread Giorgio Luciano
inally let me say that any mirroring or hosting will be greatly appreciated. I hope that this initiative will be useful ;) Best Regards Giorgio Luciano -- -======- Dr Giorgio Luciano Ph.D. Di.C.T.F.A. Dipartimento di Chimica e Tecnologie Farmaceutiche e Alimentari Via Brigata Sale

Re: [Numpy-discussion] rounding all element of an array with more than 1d

2007-01-15 Thread Giorgio Luciano
Yes it worked, sorry for bothering. the problem was theI used round with no underscore.. and so I made confusion with the two command Thank a lot !! > > ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/li

[Numpy-discussion] rounding all element of an array with more than 1d

2007-01-15 Thread Giorgio Luciano
I've posted also to scipy group but with no luck. At first I thought it was an easy task but... I've to round the numbers inside of a 2d array but nothing seems to work. the only message I've found in the archive is an old function custom made for doing that.. wouldn't be useful to have it also i

Re: [Numpy-discussion] empty data matrix (are they really empty ?)

2006-12-15 Thread Giorgio Luciano
Here's the runnable example Everything work fine with installed python 2.5 matplotlib 0.87.7 numpy 1.01scipy 0.5.2 Cheers Giorgio this module plots leverage for a regression module (only two steps in the grid since it's only a try to compare with a matlab file I have) # plots leverage plot (3d

Re: [Numpy-discussion] empty data matrix (are they really empty ?)

2006-12-15 Thread Giorgio Luciano
Ok thanks Swen I will try and sorry for not starting a new thread.. I'm still a newbie with mailing list too :) Giorgio > > > ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] empty data matrix (are they really empty ?)

2006-12-14 Thread Giorgio Luciano
I was converting a matlab file to my new favority scientific language Numpy :) In the old file I created a matrix on the fly. I know that Numpy and python cannot do that so I found a workaround here's the code lev2=empty((1,h)) ir=1 for j in arange(1,nstep+2): #a=gr[[arange(ir-1,ir+nstep)],:

Re: [Numpy-discussion] equivalent to isempty command in matlab (newbie question), (Robert Kern)

2006-12-07 Thread Giorgio Luciano
> Today's Topics: > >1. Re: equivalent to isempty command in matlab (newbie question) > (Robert Kern) > > > -- > > Message: 1 > Date: Wed, 06 Dec 2006 11:20:19 -0600 > From: Robert Kern <[EMAIL PROTECTED]> > Subject

[Numpy-discussion] equivalent to isempty command in matlab (newbie question)

2006-12-06 Thread Giorgio Luciano
Today I've also posted a question to scipy groups because I've thought I've found a solution but this work good bar(N, b1[:,0], width, color='r', yerr=binterv) s3=find(sig1[:,arange(ini,c)]<=0.001) b1=b.flatten() #if s3!=[]: for i3 in arange(len(s3)): text(s3[i3], b1[s3[i3]+