blob: 54c970774a8db307a204bc7ae5e48f3c64c46a1b (
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_mpsk_snr_est_cc
label: MPSK SNR Estimator
flags: [ python, cpp ]
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})
cpp_templates:
includes: ['#include <gnuradio/digital/mpsk_snr_est_cc.h>']
declarations: 'digital::mpsk_snr_est_cc::sptr ${id};'
make: |-
this->${id} = digital::mpsk_snr_est_cc::make(
${type},
${tag_nsamples},
${alpha});
link: ['gnuradio::gnuradio-digital']
callbacks:
- set_type(${type})
- set_tag_nsamples(${tag_nsamples})
- set_alpha(${alpha})
file_format: 1
|