gnuradio I/Q balancing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
gr-iqbal/grc/iqbalance_fix_cc.block.yml

43 lines
835 B

id: iqbalance_fix_cc
label: IQ Bal Fix
flags: [ python, cpp ]
parameters:
- id: mag
label: Magnitude
dtype: real
default: 0
- id: phase
label: Phase
dtype: real
default: 0
inputs:
- domain: stream
dtype: complex
- domain: message
id: iqbal_corr
dtype: complex
optional: true
outputs:
- domain: stream
dtype: complex
templates:
imports: from gnuradio import iqbalance
make: iqbalance.fix_cc(${mag}, ${phase})
callbacks:
- set_mag(${mag})
- set_phase(${phase})
cpp_templates:
includes: ['#include <gnuradio/iqbalance.h>']
declarations: 'iqbalance::fix_cc::sptr ${id};'
make: 'this->${id} = iqbalance::fix_cc::make(${mag}, ${phase});'
callbacks:
- set_mag(${mag})
- set_phase(${phase})
link: ['gnuradio-iqbalance']
file_format: 1