summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_mpsk_snr_est_cc.block.yml
blob: 7c39a24927b940b4a30ad7b42648b5c79afc880d (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
id: digital_mpsk_snr_est_cc
label: MPSK SNR Estimator

parameters:
-   id: type
    label: Type
    dtype: enum
    options: ['0', '1', '2', '3']
    option_labels: [Simple, Skewness, 2nd and 4th Moment, SVR]
-   id: tag_nsamples
    label: Samples between tags
    dtype: int
    default: '10000'
-   id: alpha
    label: Filter Alpha
    dtype: real
    default: '0.001'

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import digital
    make: digital.mpsk_snr_est_cc(${type}, ${tag_nsamples}, ${alpha})
    callbacks:
    - set_type(${type})
    - set_tag_nsamples(${tag_nsamples})
    - set_alpha(${alpha})

file_format: 1