diff options
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/window.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/gnuradio/window.py b/gnuradio-core/src/python/gnuradio/window.py index 7f6d62b7c..e109a9892 100644 --- a/gnuradio-core/src/python/gnuradio/window.py +++ b/gnuradio-core/src/python/gnuradio/window.py @@ -1,5 +1,5 @@ # -# Copyright 2004,2005 Free Software Foundation, Inc. +# Copyright 2004,2005,2009 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -166,7 +166,7 @@ def kaiser(fft_size,beta): def coswindow(coeffs): def closure(fft_size): window = [0] * fft_size - print list(enumerate(coeffs)) + #print list(enumerate(coeffs)) for w_index in range(fft_size): for (c_index, coeff) in enumerate(coeffs): window[w_index] += (-1)**c_index * coeff * math.cos(2.0*c_index*math.pi*(w_index+0.5)/(fft_size-1)) |