summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorTom2009-12-15 20:23:18 -0500
committerTom2009-12-15 20:23:18 -0500
commit999cd3361eef46ab6f1d5e0730ba0ae6aded8b53 (patch)
tree1f118b1100388d2c0441ebab9e3ee2a9ed47e412 /grc
parent28a55d174516831f55f0089be9a3c9080496c4ec (diff)
downloadgnuradio-999cd3361eef46ab6f1d5e0730ba0ae6aded8b53.tar.gz
gnuradio-999cd3361eef46ab6f1d5e0730ba0ae6aded8b53.tar.bz2
gnuradio-999cd3361eef46ab6f1d5e0730ba0ae6aded8b53.zip
Generating the band-edge filter taps based on the oversampling ratio (samples per symbol), rolloff factor, and the prototype (matched) filter size.
Diffstat (limited to 'grc')
-rw-r--r--grc/blocks/gr_fll_band_edge_cc.xml25
1 files changed, 17 insertions, 8 deletions
diff --git a/grc/blocks/gr_fll_band_edge_cc.xml b/grc/blocks/gr_fll_band_edge_cc.xml
index 61dc378a9..41c760cbb 100644
--- a/grc/blocks/gr_fll_band_edge_cc.xml
+++ b/grc/blocks/gr_fll_band_edge_cc.xml
@@ -8,8 +8,7 @@
<name>FLL Band-Edge</name>
<key>gr_fll_band_edge_cc</key>
<import>from gnuradio import gr</import>
- <make>gr.fll_band_edge_cc($alpha, $beta, $taps)</make>
- <callback>set_taps($taps)</callback>
+ <make>gr.fll_band_edge_cc($samps_per_sym, $rolloff, $filter_size, $alpha, $beta)</make>
<callback>set_alpha($alpha)</callback>
<callback>set_beta($beta)</callback>
@@ -22,11 +21,26 @@
<key>cc</key>
<opt>input:complex</opt>
<opt>output:complex</opt>
- <opt>taps:complex_vector</opt>
</option>
</param>
<param>
+ <name>Samples Per Symbol</name>
+ <key>samps_per_sym</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Filter Rolloff Factor</name>
+ <key>rolloff</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Prototype Filter Size</name>
+ <key>filter_size</key>
+ <type>int</type>
+ </param>
+
+ <param>
<name>Alpha</name>
<key>alpha</key>
<type>real</type>
@@ -36,11 +50,6 @@
<key>beta</key>
<type>real</type>
</param>
- <param>
- <name>Taps</name>
- <key>taps</key>
- <type>complex_vector</type>
- </param>
<sink>
<name>in</name>
<type>$type.input</type>