Re: [Numpy-discussion] fitting legendre polynomial

2011-05-17 Thread Charles R Harris
On Tue, May 17, 2011 at 8:03 AM, Wolfgang Kerzendorf < wkerzend...@googlemail.com> wrote: > Hello, > > The science package I'm using fits legendre polynomials to data. I heard > it is more stable than the normal polynomials for a fit. Is there a > polyfit for legendre polynomials? How do I do that

[Numpy-discussion] fitting legendre polynomial

2011-05-17 Thread Wolfgang Kerzendorf
Hello, The science package I'm using fits legendre polynomials to data. I heard it is more stable than the normal polynomials for a fit. Is there a polyfit for legendre polynomials? How do I do that with the new legendre polynomials module? Thanks Wolfgang _