diff options
author | Josh Blum <josh@joshknows.com> | 2009-10-28 16:17:24 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2009-10-28 16:17:24 -0700 |
commit | 230e062e51d43f389520207cf147838c666a1f21 (patch) | |
tree | a8808807a56be99bdb9f926370c807725169e63d /gnuradio-core/src/python/gnuradio/window.py | |
parent | 0f688d959441909ec0c1c89ae279d670b2e3f6b2 (diff) |
Added window option to wxgui fft and waterfall sink.
Added rectangular window function to window.py.
Average stays hidden in waterfall, fft, and numbersink wrappers (only avg_alpha shows/hides).
Fixed options in waterfall wrapper to model after fft and numbersink average params.
Diffstat (limited to 'gnuradio-core/src/python/gnuradio/window.py')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/window.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnuradio-core/src/python/gnuradio/window.py b/gnuradio-core/src/python/gnuradio/window.py index f89831375b..7f6d62b7c0 100644 --- a/gnuradio-core/src/python/gnuradio/window.py +++ b/gnuradio-core/src/python/gnuradio/window.py @@ -177,3 +177,4 @@ blackmanharris = coswindow((0.35875,0.48829,0.14128,0.01168)) nuttall = coswindow((0.3635819,0.4891775,0.1365995,0.0106411)) # Wikipedia calls this Blackman-Nuttall nuttall_cfd = coswindow((0.355768,0.487396,0.144232,0.012604)) # Wikipedia calls this Nuttall, continuous first deriv flattop = coswindow((1.0,1.93,1.29,0.388,0.032)) # Flat top window, coeffs from Wikipedia +rectangular = lambda fft_size: [1]*fft_size |