blob: d024f40e7493accc8f2cdc124e836e66407f1edc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
id: blocks_vco_c
label: VCO (complex)
flags: [ python, cpp ]
parameters:
- id: samp_rate
label: Sample Rate
dtype: real
- id: sensitivity
label: Sensitivity
dtype: real
- id: amplitude
label: Amplitude
dtype: real
inputs:
- domain: stream
dtype: float
outputs:
- domain: stream
dtype: complex
templates:
imports: from gnuradio import blocks
make: blocks.vco_c(${samp_rate}, ${sensitivity}, ${amplitude})
cpp_templates:
includes: ['#include <gnuradio/blocks/vco_c.h>']
declarations: 'blocks::vco_c::sptr ${id};'
make: 'this->${id} = blocks::vco_c::make(${samp_rate}, ${sensitivity}, ${amplitude});'
file_format: 1
|