##// END OF EJS Templates
fft on 8 points is functionnal
fft on 8 points is functionnal

File last commit:

r2:58282daae5e5 default
r2:58282daae5e5 default
Show More
main.py
11 lines | 300 B | text/x-python | PythonLexer
from fft_8_decimation_in_frequency import FFT8DecimationInFrequency
N = 8
scale = 0
fft8DecimationInFrequency = FFT8DecimationInFrequency(N, scale)
x = range(8)
fft_val = fft8DecimationInFrequency.fft(x)
dft_val = fft8DecimationInFrequency.dft(x)
print x
print "fft ", fft_val
print "dft ", dft_val