[SciPy-dev] DCT naming conventions ?

Stéfan van der Walt stefan@sun.ac...
Mon Jan 19 04:42:44 CST 2009


2009/1/19 David Cournapeau <david@ar.media.kyoto-u.ac.jp>:
> 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

Perfect, thanks!

Stéfan


More information about the Scipy-dev mailing list