1id: dtv_dvbt_reference_signals
2label: Reference Signals
3
4parameters:
5-   id: type
6    label: IO Type
7    dtype: enum
8    options: [complex, float, int, short, byte]
9    option_attributes:
10        size: [gr.sizeof_gr_complex, gr.sizeof_float, gr.sizeof_int, gr.sizeof_short,
11            gr.sizeof_char]
12-   id: constellation
13    label: Constellation Type
14    dtype: enum
15    options: [qpsk, 16qam, 64qam]
16    option_labels: [QPSK, 16QAM, 64QAM]
17    option_attributes:
18        val: [dtv.MOD_QPSK, dtv.MOD_16QAM, dtv.MOD_64QAM]
19-   id: hierarchy
20    label: Hierarchy Type
21    dtype: enum
22    options: [nh, alpha1, alpha2, alpha4]
23    option_labels: [Non Hierarchical, Alpha 1, Alpha 2, Alpha 4]
24    option_attributes:
25        val: [dtv.NH, dtv.ALPHA1, dtv.ALPHA2, dtv.ALPHA4]
26-   id: code_rate_hp
27    label: Code rate HP
28    dtype: enum
29    options: [C1_2, C2_3, C3_4, C5_6, C7_8]
30    option_labels: [1/2, 2/3, 3/4, 5/6, 7/8]
31    option_attributes:
32        val: [dtv.C1_2, dtv.C2_3, dtv.C3_4, dtv.C5_6, dtv.C7_8]
33-   id: code_rate_lp
34    label: Code rate LP
35    dtype: enum
36    options: [C1_2, C2_3, C3_4, C5_6, C7_8]
37    option_labels: [1/2, 2/3, 3/4, 5/6, 7/8]
38    option_attributes:
39        val: [dtv.C1_2, dtv.C2_3, dtv.C3_4, dtv.C5_6, dtv.C7_8]
40-   id: guard_interval
41    label: Guard Interval
42    dtype: enum
43    options: [GI_1_32, GI_1_16, GI_1_8, GI_1_4]
44    option_labels: [1/32, 1/16, 1/8, 1/4]
45    option_attributes:
46        val: [dtv.GI_1_32, dtv.GI_1_16, dtv.GI_1_8, dtv.GI_1_4]
47-   id: transmission_mode
48    label: Transmission Mode
49    dtype: enum
50    options: [T2k, T8k]
51    option_labels: [2K, 8K]
52    option_attributes:
53        fft_length: [2048, 8192]
54        payload_length: [1512, 6048]
55        val: [dtv.T2k, dtv.T8k]
56-   id: include_cell_id
57    label: Include Cell ID
58    dtype: enum
59    options: [call_id_yes, cell_id_no]
60    option_labels: ['Yes', 'No']
61    option_attributes:
62        val: ['1', '0']
63-   id: cell_id
64    label: Cell Id
65    dtype: int
66    default: '0'
67
68inputs:
69-   domain: stream
70    dtype: complex
71    vlen: ${ transmission_mode.payload_length }
72
73outputs:
74-   domain: stream
75    dtype: complex
76    vlen: ${ transmission_mode.fft_length }
77
78templates:
79    imports: from gnuradio import dtv
80    make: |-
81        dtv.dvbt_reference_signals(
82            ${type.size},
83            ${transmission_mode.payload_length},
84            ${transmission_mode.fft_length},
85            ${constellation.val},
86            ${hierarchy.val},
87            ${code_rate_hp.val},
88            ${code_rate_lp.val},
89            ${guard_interval.val},
90            ${transmission_mode.val},
91            ${include_cell_id.val},
92            ${cell_id})
93
94file_format: 1
95