summaryrefslogtreecommitdiff
path: root/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py
Commit message (Collapse)AuthorAgeFilesLines
* fec: pep8 formattingJosh Morman2021-11-241-1/+1
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* applied formatter to codeMark Bauer2021-06-161-9/+9
| | | | Signed-off-by: Mark Bauer <markb5@illinois.edu>
* replaced star imports with explicit importsMark Bauer2021-06-161-1/+7
| | | | Signed-off-by: Mark Bauer <markb5@illinois.edu>
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-4/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-10/+15
|
* gr-fec: LDPC python function - addressing an attribute errortracierenea2016-04-051-1/+1
| | | | | | | | | Minor fix to address this error: Traceback (most recent call last): File "Generate_LDPC_matrix.py", line 78, in <module> parity_check_matrix.write_alist_file(alist_filename,bestH) AttributeError: LDPC_matrix instance has no attribute 'write_alist_file'
* fec: LDPC: massive code clean up and change.Tom Rondeau2015-10-151-8/+8
| | | | | | | | | Squashed a number of commits to get to this point. Separated the H and G matrix concepts, make two different encoders and two different decoders. Removed gsl from API; now only an internal dep that we can replace more easily later. Working examples.
* fec: LDPC: Setting copyright date to current year.tracierenea2015-10-151-1/+1
|
* fec: LDPC: Adding scripts to generate matrices for encoder.tracierenea2015-10-151-0/+79
Adding python scripts which generate parity check matrices for use with the LDPC Richardson Urbanke encoder. A significant amount of matrix manipulation is required, so this process should be done before using the encoder at run time. For large matrices, it will take quite a while.