[SciPy-dev] DCT naming conventions ?

william ratcliff william.ratcliff at gmail.com
Sun Jan 18 09:58:13 EST 2009


If it's not too hard, could you also add the multidimensional transform?
Thanks,
William

On Sun, Jan 18, 2009 at 6:18 AM, David Cournapeau <
david at ar.media.kyoto-u.ac.jp> wrote:

> Hi,
>
>    I needed DCT transforms, so I finished implementing them in scipy
> (both single and double prec):
>
>
> http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/fftpack/realtransforms.py
>
> I followed the definitions of wikipedia/fftw, using the fftpack
> implementations. I am not sure about naming conventions:
>    - dct2 is the type II DCT, not the 2dimension DCT (multidimensional
> dcts are not implemented - I don't need them myself)
>    - dct3 and dct2 are inverse from each other (compared to dct/idct
> notation of matlab; dct2(x, norm=ortho) is the same as matlab dct(x),
> and dct3(x, norm='ortho') is the same as matlab idct.
>
> Unless someone has a better idea/suggestion, I will put those
> definitions in scipy.fftpack namespace in a couple of days,
>
> cheers,
>
> David
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20090118/ace3a3dc/attachment.html>


More information about the SciPy-Dev mailing list