Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread David Cournapeau
On Mon, Apr 13, 2009 at 11:02 PM, Martin Geisler wrote: > You're right, the UI is not so good. In particular, you cannot use 'hg > diff' to compare repositories. The rdiff extension does this, though: > >  http://www.selenic.com/mercurial/wiki/index.cgi/RdiffExtension In git, it is not just abou

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread David Cournapeau
On Mon, Apr 13, 2009 at 10:10 PM, David Soria Parra wrote: > > You can have multiple heads in a repository and if you created a bookmark > on the remote site you can refer to it by using ssh://url#bookmarkname . > It is not possible to get a list of bookmarks at the moment, nor is it > possible t

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread David Cournapeau
2009/4/14 Stéfan van der Walt : > 2009/4/12 Stéfan van der Walt : >> I underestimated the >> value of this type of manipulation, and of having a clearly structured >> and easily traversable history. > > I read that Bram Cohen of Codeville / "patience diff" fame doesn't > agree with me, so I'll give

Re: [Numpy-discussion] help getting started

2009-04-13 Thread David Cournapeau
On Sat, Apr 11, 2009 at 1:47 PM, David Cournapeau wrote: > > ATM, I am dealing with a third one: scipy.test() crashes right away > when importing scipy.cluster Ok, ended up being a problem with incompatible matplotlib imported by scipy.cluster, and specific to my machine. Anyway, problem solved.

Re: [Numpy-discussion] Leopard install

2009-04-13 Thread David Cournapeau
chris.bar...@noaa.gov wrote: > David Cournapeau wrote: > >> I think you need to install python from python.org (version 2.5) to >> install the numpy binary, >> > > yes, that's it -- "system Python" is a misnomer. I really should figure > out how to change that message. > It is set-up i

Re: [Numpy-discussion] recommendations on goodness of fit functions?

2009-04-13 Thread Brennan Williams
Charles R Harris wrote: On Mon, Apr 13, 2009 at 6:28 PM, Brennan Williams > wrote: Hi numpy/scipy users, I'm looking to add some basic goodness-of-fit functions/plots to my app. I have a set of simulated y vs time data and a set

Re: [Numpy-discussion] Leopard install

2009-04-13 Thread Chris . Barker
David Cournapeau wrote: > I think you need to install python from python.org (version 2.5) to > install the numpy binary, yes, that's it -- "system Python" is a misnomer. I really should figure out how to change that message. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Resp

Re: [Numpy-discussion] polyfit on multiple data points

2009-04-13 Thread josef . pktd
On Mon, Apr 13, 2009 at 5:59 PM, Mathew Yeates wrote: > Hi, > I understand how to fit  the points (x1,y1) (x2,y2),(x3,y3) with a line > using polyfit. But, what if I want to perform this task on every row of > an array? > For instance > > [[x1,x2,x3], >  [s1,s2,s3]] > > [[y1,y2,y3,], >  [r1,r2,r3]

Re: [Numpy-discussion] dimension along axis?

2009-04-13 Thread Grissiom
On Tue, Apr 14, 2009 at 09:47, Charles R Harris wrote: > You mean something like this? > > In [1]: li1 = np.array([2,3,4]) > > In [2]: li1[np.newaxis,:].shape > Out[2]: (1, 3) > > Or maybe like this? > > In [3]: li1 = np.array([[2,3,4]]) > > In [4]: li1.shape > Out[4]: (1, 3) > > Chuck > > This i

Re: [Numpy-discussion] dimension along axis?

2009-04-13 Thread Charles R Harris
On Mon, Apr 13, 2009 at 7:40 PM, Grissiom wrote: > Hi all, > > It there a convenience way to get dimension along an axis? Say I have two > ndarray: > > li1 = np.array([2,3,4]) > li2 = np.array([[2,3,4],[5,6,7]]) > > I know my list is in C order so the two array is the same in someway. But > li1.s

[Numpy-discussion] dimension along axis?

2009-04-13 Thread Grissiom
Hi all, It there a convenience way to get dimension along an axis? Say I have two ndarray: li1 = np.array([2,3,4]) li2 = np.array([[2,3,4],[5,6,7]]) I know my list is in C order so the two array is the same in someway. But li1.shape will give (3, ) and li2.shape will give (2,3). "3" appear in di

Re: [Numpy-discussion] recommendations on goodness of fit functions?

2009-04-13 Thread Charles R Harris
On Mon, Apr 13, 2009 at 6:28 PM, Brennan Williams < brennan.willi...@visualreservoir.com> wrote: > Hi numpy/scipy users, > > I'm looking to add some basic goodness-of-fit functions/plots to my app. > > I have a set of simulated y vs time data and a set of observed y vs time > data. > > The time va

[Numpy-discussion] recommendations on goodness of fit functions?

2009-04-13 Thread Brennan Williams
Hi numpy/scipy users, I'm looking to add some basic goodness-of-fit functions/plots to my app. I have a set of simulated y vs time data and a set of observed y vs time data. The time values aren't always the same, i.e. there are often fewer observed data points. Some variables will be in a 0.

[Numpy-discussion] polyfit on multiple data points

2009-04-13 Thread Mathew Yeates
Hi, I understand how to fit the points (x1,y1) (x2,y2),(x3,y3) with a line using polyfit. But, what if I want to perform this task on every row of an array? For instance [[x1,x2,x3], [s1,s2,s3]] [[y1,y2,y3,], [r1,r2,r3]] and I want the results to be the coefficients [a,b,c] and [d,e,f] wh

Re: [Numpy-discussion] Got: "undefined symbol: PyUnicodeUCS2_FromUnicode" error

2009-04-13 Thread charlie
Thanks all! I was mixed with the system python version and mine. And I got the problem solved by configuring the python environmental. On Wed, Apr 8, 2009 at 1:10 AM, Michael Abshoff < michael.absh...@googlemail.com> wrote: > charlie wrote: > > Hi All, > > Hi Charlie, > > > I got the "undefined

Re: [Numpy-discussion] survey of freely available software for the solution of linear algebra problems

2009-04-13 Thread Russell E. Owen
In article , "Nils Wagner" wrote: > http://www.netlib.org/utk/people/JackDongarra/la-sw.html You might add Eigen: We are finding it to be a very nice package (though the name is unfortunate from the perspective of internet search engines).

Re: [Numpy-discussion] documentation suggestion

2009-04-13 Thread Pauli Virtanen
Sun, 12 Apr 2009 17:32:31 -0400, Neal Becker wrote: [clip] > Done, but can someone check that what I wrote is accurate? I wrote that > changes to the ndarray will change the underlying buffer object. But, > the buffer protocol allows for read-only buffers. Not sure what ndarray > would do if you

Re: [Numpy-discussion] Leopard install

2009-04-13 Thread Tommy Grav
On Apr 12, 2009, at 7:02 PM, David Cournapeau wrote: > On Mon, Apr 13, 2009 at 1:19 AM, Stuart Edwards > wrote: >> Hi >> >> I am trying to install numpy 1.3.0 on Leopard 10.5.6 and at the point >> in the install process where I select a destination, my boot disc is >> excluded with the message: >

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Stéfan van der Walt
2009/4/12 Stéfan van der Walt : > I underestimated the > value of this type of manipulation, and of having a clearly structured > and easily traversable history. I read that Bram Cohen of Codeville / "patience diff" fame doesn't agree with me, so I'll give his opinion too: """ Don't bother with a

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Martin Geisler
David Cournapeau writes: > On Mon, Apr 13, 2009 at 6:22 PM, Martin Geisler wrote: > >>  hg diff -r F -r tip >> >> where 'tip' is a built-in name that always point to the newest >> revision in a repository. If you have a bookmark named 'numpy-1.2.x' >> on F you could write: >> >>  hg diff -r nump

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread David Cournapeau
On Mon, Apr 13, 2009 at 6:22 PM, Martin Geisler wrote: > >  hg diff -r F -r tip > > where 'tip' is a built-in name that always point to the newest revision > in a repository. If you have a bookmark named 'numpy-1.2.x' on F you > could write: > >  hg diff -r numpy-1.2.x -r tip Ok, so bookmarks ar

Re: [Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread Gael Varoquaux
On Mon, Apr 13, 2009 at 07:10:40AM -0400, Neal Becker wrote: > Anyone know of software that can assist with reading data points from a pdf > version of a 2-d line graph? I know domeone who had a lot of success with engauge-digitizer (packaged in Ubuntu). Gaël

Re: [Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread Gary Ruben
My friend has used this successfully: Looks like this will do it too: Gary R. João Luís Silva wrote: > Neal Becker wrote: >> Anyone know of software that can assist with reading data points from a pdf >> version of a 2-d line graph? >

Re: [Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread João Luís Silva
Neal Becker wrote: > Anyone know of software that can assist with reading data points from a pdf > version of a 2-d line graph? There are programs to help convert a graphic image to data points, such as http://plotdigitizer.sourceforge.net/ ___ Numpy-

Re: [Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread Nadav Horesh
Do you mean a manual digitation? You can use g3data after converting the plot to a bitmap. Nadav -הודעה מקורית- מאת: numpy-discussion-boun...@scipy.org בשם Neal Becker נשלח: ב 13-אפריל-09 13:10 אל: numpy-discussion@scipy.org נושא: [Numpy-discussion] [OT] read data from pdf Anyone kn

[Numpy-discussion] [OT] read data from pdf

2009-04-13 Thread Neal Becker
Anyone know of software that can assist with reading data points from a pdf version of a 2-d line graph? ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Martin Geisler
David Cournapeau writes: Hi David x 2 :-) I've put the David Soria on Cc since he wrote the bookmarks extension, maybe he can give additional information. The thread can be found here: http://thread.gmane.org/gmane.comp.python.numeric.general/29117 > Martin Geisler wrote: > >> [...] changese

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread David Cournapeau
Martin Geisler wrote: > Ondrej Certik writes: > >> Plus with git, you can fetch the remote repository with all the >> branches and browse them locally in your remote branches, when you are >> offline. And merge them with your own branches. In mercurial, it seems >> the only way to see what changes

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Martin Geisler
Ondrej Certik writes: > Plus with git, you can fetch the remote repository with all the > branches and browse them locally in your remote branches, when you are > offline. And merge them with your own branches. In mercurial, it seems > the only way to see what changes are there and which branch a

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Eric Firing
Stéfan van der Walt wrote: > 2009/4/13 Eric Firing : >> Stéfan, or other git-users, >> >> One feature of hg that I use frequently is "hg serve", the builtin web >> server. I use it for two purposes: for temporary local publishing >> (e.g., in place of using ssh--sometimes it is quicker and easier)

[Numpy-discussion] survey of freely available software for the solution of linear algebra problems

2009-04-13 Thread Nils Wagner
FWIW, From: Jack Dongarra Date: Tue, 7 Apr 2009 12:00:01 -0400 Subject: Survey of linear algebra software We have updated the survey of freely available software for the solution of linear algebra problems. Send us comments if you see a problem. http://www.netlib.org/utk/people/JackDongarra/l

Re: [Numpy-discussion] numpy.test() errors r6862

2009-04-13 Thread Nils Wagner
On Sun, 12 Apr 2009 12:56:46 -0600 Charles R Harris wrote: > On Sun, Apr 12, 2009 at 12:52 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Sun, Apr 12, 2009 at 12:17 PM, Nils Wagner < >> nwag...@iam.uni-stuttgart.de> wrote: >> >>> ===

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Ondrej Certik
2009/4/13 Stéfan van der Walt : > 2009/4/13 Eric Firing : >> >> Stéfan, or other git-users, >> >> One feature of hg that I use frequently is "hg serve", the builtin web >> server.  I use it for two purposes: for temporary local publishing >> (e.g., in place of using ssh--sometimes it is quicker and

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Stéfan van der Walt
2009/4/13 Eric Firing : > > Stéfan, or other git-users, > > One feature of hg that I use frequently is "hg serve", the builtin web > server.  I use it for two purposes: for temporary local publishing > (e.g., in place of using ssh--sometimes it is quicker and easier), and > for providing access to

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Martin Geisler
Stéfan van der Walt writes: > Hi Martin > > 2009/4/13 Martin Geisler : >> In Mercurial it creates a *named >> branch*, which are imbedded in the history and are used for long-term >> development branches. Names of Git branches are not recorded in the >> history and are thus well-suited for local