-
Notifications
You must be signed in to change notification settings - Fork 141
/
encoder.rst
109 lines (80 loc) · 3.41 KB
/
encoder.rst
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.. _enc-rsc-encoder-parameters:
|RSC| Encoder parameters
------------------------
.. _enc-rsc-enc-info-bits:
``--enc-info-bits, -K`` |image_required_argument|
"""""""""""""""""""""""""""""""""""""""""""""""""
:Type: integer
:Examples: ``--enc-info-bits 1``
|factory::Encoder::p+info-bits,K|
The codeword size :math:`N` is automatically deduced:
:math:`N = 2 \times (K + \log_2(ts))` where :math:`ts` is the trellis size.
.. _enc-rsc-enc-type:
``--enc-type``
""""""""""""""
:Type: text
:Allowed values: ``RSC`` ``AZCW`` ``COSET`` ``USER``
:Default: ``RSC``
:Examples: ``--enc-type AZCW``
|factory::Encoder::p+type|
Description of the allowed values:
+-----------+------------------------+
| Value | Description |
+===========+========================+
| ``RSC`` | |enc-type_descr_rsc| |
+-----------+------------------------+
| ``AZCW`` | |enc-type_descr_azcw| |
+-----------+------------------------+
| ``COSET`` | |enc-type_descr_coset| |
+-----------+------------------------+
| ``USER`` | |enc-type_descr_user| |
+-----------+------------------------+
.. |enc-type_descr_rsc| replace:: Select the standard |RSC| encoder.
.. |enc-type_descr_azcw| replace:: See the common :ref:`enc-common-enc-type`
parameter.
.. |enc-type_descr_coset| replace:: See the common :ref:`enc-common-enc-type`
parameter.
.. |enc-type_descr_user| replace:: See the common :ref:`enc-common-enc-type`
parameter.
.. _enc-rsc-enc-no-buff:
``--enc-no-buff``
"""""""""""""""""
|factory::Encoder_RSC::p+no-buff|
**Without the buffered encoding**, considering the following sequence of
:math:`K` information bits: :math:`U_0, U_1, [...], U_{K-1}`, the encoded bits
will be organized as follow:
:math:`X_0^s, X_0^p, X_1^s, X_1^p, [...], X_{K-1}^s, X_{K-1}^p, X_{0}^{s^t}, X_{0}^{p^t}, X_{1}^{s^t}, X_{1}^{p^t}, [...], X_{\log_2(ts)-1}^{s^t}, X_{\log_2(ts)-1}^{p^t}`,
where :math:`s` and :math:`p` are respectively *systematic* and *parity* bits,
:math:`t` the *tail bits* and :math:`ts` the *trellis size*.
**With the buffered encoding**, considering the following sequence of :math:`K`
information bits: :math:`U_0, U_1, [...], U_{K-1}`, the encoded bits will be
organized as follow:
:math:`X_0^s, X_1^s, [...], X_{K-1}^s, X_{0}^{s^t}, X_{1}^{s^t}, [...], X_{\log_2(ts)-1}^{s^t}, X_0^p, X_1^p, [...], X_{K-1}^p, X_{0}^{p^t}, X_{1}^{p^t}, [...], X_{\log_2(ts)-1}^{p^t}`,
where :math:`s` and :math:`p` are respectively *systematic* and *parity* bits,
:math:`t` the *tail bits* and :math:`ts` the *trellis size*.
.. _enc-rsc-enc-poly:
``--enc-poly``
""""""""""""""
:Type: text
:Default: ``"{013,015}"``
:Examples: ``--enc-poly "{023, 033}"``
|factory::Encoder_RSC::p+poly|
.. _enc-rsc-enc-std:
``--enc-std``
"""""""""""""
:Type: text
:Allowed values: ``CCSDS`` ``LTE``
:Examples: ``--enc-std CCSDS``
|factory::Encoder_RSC::p+std|
Description of the allowed values:
+-----------+-----------------------+
| Value | Description |
+===========+=======================+
| ``CCSDS`` | |enc-std_descr_ccsds| |
+-----------+-----------------------+
| ``LTE`` | |enc-std_descr_lte| |
+-----------+-----------------------+
.. |enc-std_descr_ccsds| replace:: Set the :ref:`enc-rsc-enc-poly` parameter to
``{023,033}`` according to the |CCSDS| standard (16-stage trellis).
.. |enc-std_descr_lte| replace:: Set the :ref:`enc-rsc-enc-poly` parameter to
``{013,015}`` according to the |LTE| standard (8-stage trellis).