summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_probe_density_b.block.yml
blob: bcaeb3c72a2e326c528539fe3d5e8761a6c1c574 (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: digital_probe_density_b
label: Probe Density
flags: [ python, cpp ]

parameters:
-   id: alpha
    label: Alpha
    dtype: real
    default: '1'
-   id: probe_rate
    label: Probe Rate
    dtype: real
    default: '10'

inputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import digital
    make: digital.probe_density_b(${alpha})
    callbacks:
    - set_alpha(${alpha})

cpp_templates:
    includes: ['#include <gnuradio/digital/probe_density_b.h>']
    declarations: 'digital::probe_density_b::sptr ${id};'
    make: 'this->${id} = digital::probe_density_b::make(${alpha});'
    link: ['gnuradio::gnuradio-digital']
    callbacks:
    - set_alpha(${alpha})

file_format: 1