[SciPy-dev] DCT naming conventions ?

David Cournapeau david@ar.media.kyoto-u.ac...
Mon Jan 19 21:55:35 CST 2009

Scott David Daniels wrote:
> David Cournapeau wrote:
>> ...  def dct(x, type=2, n=None, axis=-1, norm=None):
> maybe this is bike-shedding, but wouldn't
>      def dct(x, type=2, n=None, axis=-1, normalize=False)
> Where any false means no normalization and any true means do ortho
> normalization?  Or do you forsee non-ortho normalizations being
> implemented?

Yes, several normalization schemes are possible - it is mostly a matter
of convention. I implemented one normalization scheme to get the same
results as matlab, which I needed for my case.



More information about the Scipy-dev mailing list