From ed0dffa3c1a84a4b8f3201969896f61af39b86a3 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sat, 23 Jun 2012 08:44:47 -0700 Subject: blocks: added gr::blocks::complex_to_imag --- gr-blocks/grc/blocks_block_tree.xml | 1 + gr-blocks/grc/blocks_complex_to_imag.xml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 gr-blocks/grc/blocks_complex_to_imag.xml (limited to 'gr-blocks/grc') diff --git a/gr-blocks/grc/blocks_block_tree.xml b/gr-blocks/grc/blocks_block_tree.xml index 4a520828b..2739919d2 100644 --- a/gr-blocks/grc/blocks_block_tree.xml +++ b/gr-blocks/grc/blocks_block_tree.xml @@ -43,6 +43,7 @@ blocks_char_to_short blocks_complex_to_interleaved_short blocks_complex_to_float + blocks_complex_to_imag blocks_complex_to_real diff --git a/gr-blocks/grc/blocks_complex_to_imag.xml b/gr-blocks/grc/blocks_complex_to_imag.xml new file mode 100644 index 000000000..cb2c2019f --- /dev/null +++ b/gr-blocks/grc/blocks_complex_to_imag.xml @@ -0,0 +1,29 @@ + + + + Complex to Imag + blocks_complex_to_imag + from gnuradio import blocks + blocks.complex_to_imag($vlen) + + Vec Length + vlen + 1 + int + + $vlen > 0 + + in + complex + $vlen + + + out + float + $vlen + + -- cgit