[SciPy-dev] DCT naming conventions ?

David Cournapeau david at ar.media.kyoto-u.ac.jp
Mon Jan 19 03:45:56 EST 2009


Stéfan van der Walt wrote:
> 2009/1/19 David Cournapeau <cournape at 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