[SciPy-dev] DCT naming conventions ?

william ratcliff william.ratcliff@gmail....
Sun Jan 18 08:58:13 CST 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@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@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20090118/ace3a3dc/attachment.html 


More information about the Scipy-dev mailing list