summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_costas_loop_cc.block.yml
blob: 6134774f32e34c5f756ee228e2485abcc47d7e71 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
id: digital_costas_loop_cc
label: Costas Loop

parameters:
-   id: w
    label: Loop Bandwidth
    dtype: real
-   id: order
    label: Order
    dtype: int
-   id: use_snr
    label: Use SNR
    dtype: enum
    default: 'False'
    options: ['True', 'False']
    option_labels: ['Yes', 'No']
    hide: part

inputs:
-   domain: stream
    dtype: complex
-   domain: message
    id: noise
    optional: true

outputs:
-   domain: stream
    dtype: complex
-   label: frequency
    domain: stream
    dtype: float
    optional: true
-   label: phase
    domain: stream
    dtype: float
    optional: true
-   label: error
    domain: stream
    dtype: float
    optional: true

templates:
    imports: from gnuradio import digital
    make: digital.costas_loop_cc(${w}, ${order}, ${use_snr})
    callbacks:
    - set_loop_bandwidth(${w})

file_format: 1