From 737b3dc0c41a867ea38c1475a3877bc0fb6f3ee2 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sat, 23 Jun 2012 09:25:42 -0700 Subject: blocks: added gr::blocks::complex_to_mag_squared --- gr-blocks/grc/blocks_complex_to_mag_squared.xml | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 gr-blocks/grc/blocks_complex_to_mag_squared.xml (limited to 'gr-blocks/grc/blocks_complex_to_mag_squared.xml') diff --git a/gr-blocks/grc/blocks_complex_to_mag_squared.xml b/gr-blocks/grc/blocks_complex_to_mag_squared.xml new file mode 100644 index 000000000..ee2270fec --- /dev/null +++ b/gr-blocks/grc/blocks_complex_to_mag_squared.xml @@ -0,0 +1,29 @@ + + + + Complex to Mag^2 + blocks_complex_to_mag_squared + from gnuradio import blocks + blocks.complex_to_mag_squared($vlen) + + Vec Length + vlen + 1 + int + + $vlen > 0 + + in + complex + $vlen + + + out + float + $vlen + + -- cgit