summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_burst_shaper.block.yml
blob: a6d7defb4b6d188b5e76e2c15251162200bb9bc0 (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
49
50
id: digital_burst_shaper_xx
label: Burst Shaper
category: '[Core]/Packet Operators'

parameters:
-   id: type
    label: Type
    dtype: enum
    options: [float, complex]
    option_attributes:
        fcn: [ff, cc]
        taps: [float_vector, complex_vector]
    hide: part
-   id: window
    label: Window Taps
    dtype: ${ type.taps }
    default: ([])
-   id: pre_padding
    label: Pre-padding Length
    dtype: int
    default: '0'
-   id: post_padding
    label: Post-padding Length
    dtype: int
    default: '0'
-   id: insert_phasing
    label: Insert phasing symbols
    dtype: enum
    default: 'False'
    options: ['False', 'True']
    option_labels: ['No', 'Yes']
-   id: length_tag_name
    label: Length Tag Name
    dtype: string
    default: '"packet_len"'

inputs:
-   domain: stream
    dtype: ${ type }

outputs:
-   domain: stream
    dtype: ${ type }

templates:
    imports: from gnuradio import digital
    make: digital.burst_shaper_${type.fcn}(${window}, ${pre_padding}, ${post_padding},
        ${insert_phasing}, ${length_tag_name})

file_format: 1