summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_cpmmod_bc.block.yml
blob: 1a6435289b2f753d6af74f5641a9b9d4b1c029ea (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
id: digital_cpmmod_bc
label: Continuous Phase Modulation

parameters:
-   id: type
    label: CPM Type
    dtype: enum
    options: [analog.cpm.LREC, analog.cpm.LRC, analog.cpm.LSRC, analog.cpm.TFM, analog.cpm.GAUSSIAN]
    option_labels: [L-REC (Rectangular phase response), L-RC (Raised Cosine), L-SRC
            (Spectral raised cosine), TFM (Tamed frequency modulation), Gaussian]
-   id: mod_index
    label: Modulation Index
    dtype: real
    default: '0.5'
-   id: samples_per_symbol
    label: Samples/Symbol
    dtype: int
    default: '4'
-   id: L
    label: Pulse Duration (Symbols)
    dtype: int
    default: '4'
-   id: beta
    label: Phase Response Parameter (BT or Beta)
    dtype: real
    default: '0.3'

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import gr, digital, analog
    make: digital.cpmmod_bc(${type}, ${mod_index}, ${samples_per_symbol}, ${L}, ${beta})

file_format: 1