[SciPy-user] scipy.signal.chebwin

Kumar Appaiah akumar@iitm.ac...
Thu Feb 21 06:55:34 CST 2008


On Fri, Feb 15, 2008 at 03:09:50PM -0600, Ryan May wrote:
> def myT(order, x):
>     retval = N.zeros_like(x)
>     retval[x > 1] = N.cosh(order*N.arccosh(x[x>1]))
>     retval[x < -1] = N.cosh(order*N.arccosh(-x[x<-1]))*((-1)*(order%2))
>     retval[N.abs(x)<=1] = N.cos(order*N.arccos(x[N.abs(x)<=1]))
>     return retval
> 
> I missed a problem with odd ordered Tn.  See
> http://en.wikipedia.org/wiki/Chebyshev_polynomials.

I have referred to Ryan's mail in the ticket for this bug[1]. Is there
any chance of someone suggesting how this can be integrated into the
SciPy SVN?

Thanks.

Kumar

[1]: http://scipy.org/scipy/scipy/ticket/581
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20080221/4efce3f1/attachment.bin 


More information about the SciPy-user mailing list