[SciPy-dev] DCT naming conventions ?
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Mon Jan 19 22:55:35 EST 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.
cheers,
David
More information about the SciPy-Dev
mailing list