diff options
author | Martin Braun | 2013-02-26 13:44:12 +0100 |
---|---|---|
committer | Martin Braun | 2013-02-26 13:44:12 +0100 |
commit | 7bb8c89e224e7b2c9ddbc5b4f50c79ffb0da2557 (patch) | |
tree | aec6e881cdd825c39a084ce7aa16a87c045a4fae /gr-blocks/grc/blocks_peak_detector2_fb.xml | |
parent | d7766c2c8d12bbfaf29b83cfea5ff95475b45d86 (diff) | |
parent | a54dc5bab6cc38513e9732be9f5c2670145b160f (diff) | |
download | gnuradio-7bb8c89e224e7b2c9ddbc5b4f50c79ffb0da2557.tar.gz gnuradio-7bb8c89e224e7b2c9ddbc5b4f50c79ffb0da2557.tar.bz2 gnuradio-7bb8c89e224e7b2c9ddbc5b4f50c79ffb0da2557.zip |
Merge branch 'master' of git://github.com/gnuradio/gnuradio into grmodtool
Diffstat (limited to 'gr-blocks/grc/blocks_peak_detector2_fb.xml')
-rw-r--r-- | gr-blocks/grc/blocks_peak_detector2_fb.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_peak_detector2_fb.xml b/gr-blocks/grc/blocks_peak_detector2_fb.xml new file mode 100644 index 000000000..584e7a1fb --- /dev/null +++ b/gr-blocks/grc/blocks_peak_detector2_fb.xml @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Peak Detector2 +################################################### + --> +<block> + <name>Peak Detector2</name> + <key>blocks_peak_detector2_fb</key> + <import>from gnuradio import blocks</import> + <make>blocks.peak_detector2_fb($threshold_factor_rise, $look_ahead, $alpha)</make> + <callback>set_threshold_factor_rise($threshold_factor_rise)</callback> + <callback>set_look_ahead($look_ahead)</callback> + <callback>set_alpha($alpha)</callback> + <param> + <name>TH Factor Rise</name> + <key>threshold_factor_rise</key> + <value>7</value> + <type>real</type> + </param> + <param> + <name>Look Ahead</name> + <key>look_ahead</key> + <value>1000</value> + <type>int</type> + </param> + <param> + <name>Alpha</name> + <key>alpha</key> + <value>0.001</value> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>float</type> + </sink> + <source> + <name>out</name> + <type>byte</type> + </source> +</block> |