[SciPy-dev] DCT naming conventions ?
Stéfan van der Walt
stefan at sun.ac.za
Sun Jan 18 10:25:42 EST 2009
2009/1/18 David Cournapeau <david at ar.media.kyoto-u.ac.jp>:
> 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
>
> - 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.
While this naming is accurate, it is confusing in relation to the
other FFT functions. I prefer "dct" and "idct".
Cheers
Stéfan
More information about the SciPy-Dev
mailing list