<?xml version="1.0"?> <!-- ################################################### ##Complex to Magnitude ################################################### --> <block> <name>Complex to Mag</name> <key>gr_complex_to_mag</key> <import>from gnuradio import gr</import> <make>gr.complex_to_mag($vlen)</make> <param> <name>Vec Length</name> <key>vlen</key> <value>1</value> <type>int</type> </param> <check>$vlen > 0</check> <sink> <name>in</name> <type>complex</type> <vlen>$vlen</vlen> </sink> <source> <name>out</name> <type>float</type> <vlen>$vlen</vlen> </source> </block>