summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_psk_demod.block.yml
blob: fbb5d60005c93cfcd9b14b3c307d933e7e8f7722 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
id: digital_psk_demod
label: PSK Demod
category: '[Core]/Deprecated'

parameters:
-   id: constellation_points
    label: Number of Constellation Points
    dtype: int
    default: '8'
-   id: differential
    label: Differential Encoding
    dtype: bool
    default: 'True'
    options: ['True', 'False']
    option_labels: ['Yes', 'No']
-   id: samples_per_symbol
    label: Samples/Symbol
    dtype: int
    default: '2'
-   id: excess_bw
    label: Excess BW
    dtype: real
    default: '0.35'
-   id: freq_bw
    label: Frequency BW
    dtype: real
    default: 6.28/100.0
-   id: timing_bw
    label: Timing BW
    dtype: real
    default: 6.28/100.0
-   id: phase_bw
    label: Phase BW
    dtype: real
    default: 6.28/100.0
-   id: mod_code
    label: Gray Code
    dtype: enum
    options: ['"gray"', '"none"']
    option_labels: ['Yes', 'No']
-   id: verbose
    label: Verbose
    dtype: bool
    default: 'False'
    options: ['True', 'False']
    option_labels: ['On', 'Off']
    hide: ${ ('part' if str(verbose) == 'False' else 'none') }
-   id: log
    label: Log
    dtype: bool
    default: 'False'
    options: ['True', 'False']
    option_labels: ['On', 'Off']
    hide: ${ ('part' if str(log) == 'False' else 'none') }

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import digital
    make: |-
        digital.psk.psk_demod(
          constellation_points=${constellation_points},
          differential=${differential},
          samples_per_symbol=${samples_per_symbol},
          excess_bw=${excess_bw},
          phase_bw=${phase_bw},
          timing_bw=${timing_bw},
          mod_code=${mod_code},
          verbose=${verbose},
          log=${log},
          )

file_format: 1