summaryrefslogtreecommitdiffstats
path: root/grc/iqbalance_fix_cc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/iqbalance_fix_cc.xml')
-rw-r--r--grc/iqbalance_fix_cc.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/grc/iqbalance_fix_cc.xml b/grc/iqbalance_fix_cc.xml
new file mode 100644
index 0000000..2fc32d0
--- /dev/null
+++ b/grc/iqbalance_fix_cc.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<block>
+ <name>IQ Bal Fix</name>
+ <key>iqbalance_fix_cc</key>
+ <category>IQ Balance</category>
+ <import>import iqbalance</import>
+ <make>iqbalance.fix_cc($mag, $phase)</make>
+ <callback>set_mag($mag)</callback>
+ <callback>set_phase($phase)</callback>
+ <param>
+ <name>Magnitude</name>
+ <key>mag</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Phase</name>
+ <key>phase</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <sink>
+ <name>iqbal_corr</name>
+ <type>message</type>
+ <optional>1</optional>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>