diff options
author | Johnathan Corgan | 2012-07-01 09:15:14 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-07-01 09:15:14 -0700 |
commit | 70d89e2051264876055fe9f73cbcb2823806b3ee (patch) | |
tree | ea53cb65047428348d18c06bebfa6c5d07d543c7 /gr-blocks/grc | |
parent | ee1a53b4a971e4b9623f504628231a273157f462 (diff) | |
download | gnuradio-70d89e2051264876055fe9f73cbcb2823806b3ee.tar.gz gnuradio-70d89e2051264876055fe9f73cbcb2823806b3ee.tar.bz2 gnuradio-70d89e2051264876055fe9f73cbcb2823806b3ee.zip |
blocks: added gr::blocks::nlog10_ff
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_block_tree.xml | 1 | ||||
-rw-r--r-- | gr-blocks/grc/blocks_nlog10_ff.xml | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_block_tree.xml b/gr-blocks/grc/blocks_block_tree.xml index 638fb5941..721a6d238 100644 --- a/gr-blocks/grc/blocks_block_tree.xml +++ b/gr-blocks/grc/blocks_block_tree.xml @@ -39,6 +39,7 @@ <block>blocks_sub_xx</block> <block>blocks_conjugate_cc</block> <block>blocks_integrate_xx</block> + <block>blocks_nlog10_ff</block> </cat> <cat> <name>Stream Type Conversions (New) </name> diff --git a/gr-blocks/grc/blocks_nlog10_ff.xml b/gr-blocks/grc/blocks_nlog10_ff.xml new file mode 100644 index 000000000..884f4a444 --- /dev/null +++ b/gr-blocks/grc/blocks_nlog10_ff.xml @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Log10 Block: +## float in/ float out +################################################### + --> +<block> + <name>Log10</name> + <key>blocks_nlog10_ff</key> + <import>from gnuradio import blocks</import> + <make>blocks.nlog10_ff($n, $vlen, $k)</make> + <param> + <name>n</name> + <key>n</key> + <value>1</value> + <type>real</type> + </param> + <param> + <name>k</name> + <key>k</key> + <value>0</value> + <type>real</type> + </param> + <param> + <name>Vec Length</name> + <key>vlen</key> + <value>1</value> + <type>int</type> + </param> + <check>$vlen >= 1</check> + <sink> + <name>in</name> + <type>float</type> + <vlen>$vlen</vlen> + </sink> + <source> + <name>out</name> + <type>float</type> + <vlen>$vlen</vlen> + </source> +</block> |