[SciPy-dev] DCT naming conventions ?

David Cournapeau david@ar.media.kyoto-u.ac...
Mon Jan 19 02:45:56 CST 2009


Stéfan van der Walt wrote:
> 2009/1/19 David Cournapeau <cournape@gmail.com>:
>   
>> Ok, I implemented the above scheme for DCT I/II/III, the docstring is:
>>
>> def dct(x, type=2, n=None, axis=-1, norm=None):
>>     
>
> I think it would make sense to add a wrapper to idct too, since this
> is such a common use case.
>   

Great minds think alike :) It is already implemented, if I understand
you correctly:

http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/fftpack/realtransforms.py

David


More information about the Scipy-dev mailing list