Re: question about numpy.polyval

2011-03-01 Thread sirvival
Hi, found the error I had x for coeff wrong definded. Instead of x = np.arange(num_chunk) it should be x = data_fin[::,0] Now it works. -- http://mail.python.org/mailman/listinfo/python-list

Re: question about numpy.polyval

2011-03-01 Thread sirvival
On 28 Feb., 17:15, Robert Kern wrote: > On 2/28/11 9:34 AM, sirvival wrote: > > > Hi, > > I have some simulated data of stellar absorption lines. > > You will want to ask numpy questions on the numpy mailing list: > >    http://www.scipy.org/Mailing_Lists > > It would be best if you could make a m

Re: question about numpy.polyval

2011-02-28 Thread Robert Kern
On 2/28/11 9:34 AM, sirvival wrote: Hi, I have some simulated data of stellar absorption lines. You will want to ask numpy questions on the numpy mailing list: http://www.scipy.org/Mailing_Lists It would be best if you could make a minimal, self-contained, runnable script that demonstrates