[SciPy-user] scipy.signal.chebwin

Kumar Appaiah akumar at iitm.ac.in
Sat Feb 9 20:32:31 EST 2008


On Sat, Feb 09, 2008 at 12:16:04PM +0530, Kumar Appaiah wrote:
> > array([-0.16010146, -0.16010146, -0.16010146, -0.16010146, -0.16010146,
> >        -0.16010147, -0.16010148, -0.16010149, -0.1601015 , -0.1601015 ,
> >        -0.16010145, -0.16010096, -0.16009716, -0.16007336, -0.15994973,
> >        -0.15941238, -0.15743963, -0.15127378, -0.13476733, -0.09676449,
> >        -0.02138783,  0.10725105,  0.29505955,  0.52638443,  0.7591664 ,
> >         0.93452305,  1.        ,  0.93452305,  0.7591664 ,  0.52638443,
> >         0.29505955,  0.10725105, -0.02138783, -0.09676449, -0.13476733,
> >        -0.15127378, -0.15743963, -0.15941238, -0.15994973, -0.16007336,
> >        -0.16009716, -0.16010096, -0.16010145, -0.1601015 , -0.1601015 ,
> >        -0.16010149, -0.16010148, -0.16010147, -0.16010146, -0.16010146,
> >        -0.16010146, -0.16010146, -0.16010146])
> > 
> > Clearly, all of those negative values are *not* correct.  (And the
> > problems are not limited to the numbers above.)  Any ideas?
> 
> Let me try to figure it out. Then I'll let you know.

I am unable to figure out where the problem could be, though I guess
it would have to do with the Chebyshev polynomial evaluation. I could
really do with a little help in debugging the chebwin fix. :-)

Of course, I shall try it again... let's see.

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036



More information about the SciPy-User mailing list