[SciPy-User] Can't find Discrete Cosine Transform
Wed Oct 5 23:16:48 CDT 2011
2011/10/5 Jorge E. ´Sanchez Sanchez <email@example.com>
> Need some help,
> I'm trying to get the Discrete Cosine Transform of a sequence S_m,
> according to
> it is defined as "dct" in the scipy.fftpack module, however when I try to
> use it after:
> from scipy import fftpack
> it does not offer me that option (just these others: cc_diff, cs_diff,
> diff, fft, fft2,
> fftn, hilbert, ifft, ifft2, ifftn, ihilbert, irfft, itilbert, rfft,
> rfftfreq, sc_diff, shift, ssdiff and
> Trying it, gives me the error message:
> Traceback (most recent call last):
> File "/home/george/Escritorio/prueba1D05Oct2011.py", line 78, in <module>
> FCTS_m = fftpack.dct(S_m,norm='ortho')
> AttributeError: 'module' object has no attribute 'dct'
> as expected.
> What I have to do to make it work???
dct was added to scipy in version 0.8:
What version are you using?
> Thanks in Advance
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User