From 9988664127b367fa8fee4409f8460673d6f265e1 Mon Sep 17 00:00:00 2001 From: jblum Date: Tue, 23 Jun 2009 20:38:18 +0000 Subject: Merging r11186:11273 from grc branch. Fixes, features, and reorganization for grc. Minor fixes and features for wxgui forms. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11274 221aa14e-8319-0410-a670-987f0aec2ac5 --- grc/blocks/gr_fft_vxx.xml | 81 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 grc/blocks/gr_fft_vxx.xml (limited to 'grc/blocks/gr_fft_vxx.xml') diff --git a/grc/blocks/gr_fft_vxx.xml b/grc/blocks/gr_fft_vxx.xml new file mode 100644 index 000000000..d398486ef --- /dev/null +++ b/grc/blocks/gr_fft_vxx.xml @@ -0,0 +1,81 @@ + + + + FFT + gr_fft_vxx + from gnuradio import gr + from gnuradio import window + #if $type() == "complex" +gr.fft_vcc($fft_size, $forward, $window, $shift) +#else +gr.fft_vfc($fft_size, $forward, $window) +#end if + + Input Type + type + enum + + + + + FFT Size + fft_size + 1024 + int + + + Forward/Reverse + forward + enum + + + + + Window + window + window.blackmanharris(1024) + real_vector + + + Shift + shift + enum + $type.hide_shift + + + + + in + $type + $fft_size + + + out + complex + $fft_size + + -- cgit From 09f0820f2c275219d63c201c23deb77f8351fa35 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Mon, 6 Feb 2012 17:32:23 -0500 Subject: grc: add nthread parameter to FFT-based blocks. --- grc/blocks/gr_fft_vxx.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'grc/blocks/gr_fft_vxx.xml') diff --git a/grc/blocks/gr_fft_vxx.xml b/grc/blocks/gr_fft_vxx.xml index d398486ef..565354e41 100644 --- a/grc/blocks/gr_fft_vxx.xml +++ b/grc/blocks/gr_fft_vxx.xml @@ -10,10 +10,11 @@ from gnuradio import gr from gnuradio import window #if $type() == "complex" -gr.fft_vcc($fft_size, $forward, $window, $shift) +gr.fft_vcc($fft_size, $forward, $window, $shift, $nthreads) #else -gr.fft_vfc($fft_size, $forward, $window) +gr.fft_vfc($fft_size, $forward, $window, $nthreads) #end if + set_nthreads($nthreads) Input Type type @@ -68,6 +69,12 @@ gr.fft_vfc($fft_size, $forward, $window) False + + Num. Threads + nthreads + 1 + int + in $type -- cgit