summaryrefslogtreecommitdiff
path: root/gr-fec/python
Commit message (Collapse)AuthorAgeFilesLines
...
* gr-fec: LDPC python function - making a better docstringtracierenea2016-04-051-5/+9
| | | | The help/docstring for this function was misleading and confusing even to myself!
* 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'
* gr-fec: LPDC python function - addressing an "undefined" errortracierenea2016-04-051-1/+1
| | | | | | | | | | | Minor fix to address this error: Traceback (most recent call last): File "Generate_LDPC_matrix.py", line 63, in <module> [bestH,g] = get_best_matrix(newH,100) File "/home/tracie/pybombs/src/gnuradio/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py", line 616, in get_best_matrix [betterH, gap, t] NameError: global name 'betterH' is not defined
* gr-fec: LDPC python function - addressing an "undefined" errortracierenea2016-04-051-1/+1
| | | | | | | | Adding verbosity as an argument to this function, to address this error: File "/home/tracie/pybombs/src/gnuradio/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py", line 478, in inv_mod2 if verbose: NameError: global name 'verbose' is not defined
* gr-fec: Adding doc in BER Curve Gen. block re: parallelism.tracierenea2016-03-271-0/+6
| | | | Adding documentation regarding parallelism configuration requirements for using the BER Curve Gen. block. Also adding a FIXME note so that we can better address this in the future. These notes are my understanding after getting clarification from Tom on how the parallelism feature behaves in this case.
* Merge remote-tracking branch 'jdemel/polar-systematic'Johnathan Corgan2015-12-076-66/+337
|\
| * polar: systematic decoder addedJohannes Demel2015-12-071-0/+117
| | | | | | | | | | | | | | Conflicts: gr-fec/grc/fec_block_tree.xml gr-fec/include/gnuradio/fec/CMakeLists.txt gr-fec/swig/fec_swig.i
| * polar: sytematic encoder addedJohannes Demel2015-12-071-0/+107
| | | | | | | | | | | | | | Conflicts: gr-fec/grc/fec_block_tree.xml gr-fec/include/gnuradio/fec/CMakeLists.txt gr-fec/swig/fec_swig.i
| * polar: systematic test code addedJohannes Demel2015-12-074-66/+113
| |
* | polar: added more details in README about usage of channel construction codeJohannes Demel2015-12-011-3/+27
| |
* | polar: BEC channel construction optimizedJohannes Demel2015-12-011-18/+137
| | | | | | | | | | Conflicts: gr-fec/python/fec/polar/channel_construction_bec.py
* | polar: fixed channel construction naming errorJohannes Demel2015-12-017-30/+30
| |
* | polar: channel construction bugfixes in Python codeJohannes Demel2015-12-013-10/+33
|/
* fec: conditionalize use of matplotlib in polar code helper functions.Tom Rondeau2015-10-202-9/+11
| | | | Make it so that we don't require matplotlib just to run QA tests.
* fec: polar code QA code was not producing XML files containing results.Tom Rondeau2015-10-203-9/+3
|
* fec: LDPC: added back all QA tests and added a test of ldpc_gen_mtrx_encoder.Tom Rondeau2015-10-151-78/+130
|
* fec: LDPC: fixed issue with bit_flip_decoder.Tom Rondeau2015-10-151-10/+10
| | | | | We can't use a raw pointer, so using a shared_ptr to the base class, instead, from the H and G matrices.
* fec: LDPC: reworking code to make sure API is ok.Tom Rondeau2015-10-151-92/+100
| | | | | Reintroduced original ldpc_encoder for compatibility. Renamed new version to ldpc_par_mtrx_encoder.
* fec: LDPC: placeholder to remind us to better document the Python functions.Tom Rondeau2015-10-151-0/+4
|
* fec: LDPC: massive code clean up and change.Tom Rondeau2015-10-156-227/+286
| | | | | | | | | 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-152-2/+2
|
* fec: LDPC: Moving alist files to a more global place; updatingtracierenea2015-10-1515-18144/+1
| | | | | | | | | | | | example. Moved the LDPC alist files from the python and examples directories, installed them into $prefix/share/gnuradio/fec/ldpc. Updated CMakeLists.txt files accordingly. Consequently, updated the GRC LDPC example, which uses 2 of these files. I used the approach of gr-trellis where the path to the installed alist files is set by cmake.
* fec: LDPC: Adding capability to provide H matrix for encoding/decoding.tracierenea2015-10-151-2/+47
| | | | | | | | | | | | | - Adding new LDPC classes and example to doc - Editing the ldpc_gen_mtrx class to accept either a generator matrix (G) or a parity check matrix (H). - Renamed class from ldpc_gen_mtrx to ldpc_HorG_mtrx - Updated XML blocks and their documentation accordingly. - Deleting a matrix from examples dir that isn't use in any example. - Adding a simple matrix to example dir that is used in example.
* fec: LDPC: Workaround for swig issues, updating examples.tracierenea2015-10-152-0/+5925
| | | | | | | | | | | | | - separating LDPC BER curve stuff out from ber_curve_gen and making it a separate example (ber_curve_gen_ldpc.grc) - specifying that many functions are const - trying to be careful about the encoder/decoder classes not being able to modify the matrix objects - adding a get_base_ptr() function to the matrix child classes as a workout for swig and GRC. Issue described at: http://lists.gnu.org/archive/html/discuss-gnuradio/2015-02/msg00246.html
* fec: LDPC: Renaming class from ldpc_par_chk_mtrx to ldpc_R_U_mtrxtracierenea2015-10-151-14/+13
| | | | | | | | | To indicate that this matrix has a specific format, designed for use with the ldpc_R_U_encoder, renaming this class from ldpc_par_chk_mtrx to ldpc_R_U_mtrx. Also putting the memory free calls in the correct place in the bit flip decoder.
* fec: LDPC: Clean up, and adding LDPC to BER curve gen example.tracierenea2015-10-157-9356/+9403
| | | | | | | | | | | | | | | | | - The 6 alist files are just being re-pushed. git is saying they were modified on the remote but I didn't modify them, and couldn't solve that mystery. - CMakeLists.txt being updated to install the python script that generates matrices for use with LDPC encoder. Also it copies the alist files to python2.7/dist-packages/gnuradio/fec/LDPC - Adding the LDPC encoder/decoder to the ber_curve_gen.grc example. Note: the resulting plot shows LDPC performance as worse than the dummy encoder/decoder; so, still more work to do.... - Slight mod to the bit flip decoder to convert incoming floats to 0s and 1s, in the same manner as the repetition decoder.
* fec: LDPC: Adding scripts to generate matrices for encoder.tracierenea2015-10-152-0/+698
| | | | | | | | 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.
* fec: LDPC: Adding QA test and alist files.tracierenea2015-10-1514-0/+12439
| | | | | | | | | | Adding qa file - pretty much copied the structure of the dummy encoder/decoder qa file. Adding a small library of alist files, which are LDPC parity check matrix files that can be used with the Richardson Urbanke encoder. They have different rates and work with codeword lengths ranging between 100 and 1800 bits.
* fec: Adds MTU parameter to async and tagged stream blocks.Tom Rondeau2015-09-242-4/+5
| | | | | | | | | | The maximum transmission unit (MTU, in bytes) sets up the encoders and decoders with enough internal buffer space to accommodate frames of varying sizes up to the MTU. Proections placed to make sure incoming tagged streams and PDUs don't exceed this. This also fixes a bug in the tagged stream encoder and decoder blocks to properly use calculate_output_stream_length.
* fec: polar: Installing more FEC examples.Tom Rondeau2015-09-231-5/+9
| | | | Also some minor formatting.
* polar: updated documentation and examplesJohannes Demel2015-09-222-2/+2
|
* polar: fixed bugs in init codeJohannes Demel2015-09-212-1/+4
|
* polar: updated polar code example GRCJohannes Demel2015-09-211-2/+2
|
* polar: refarctoring and clean-upJohannes Demel2015-09-2111-441/+292
|
* polar: VOLK kernel integrationJohannes Demel2015-09-216-91/+322
| | | | | Conflicts: volk
* polar: Python implementation for channel constructionJohannes Demel2015-09-2112-676/+646
|
* polar: SC and SC List decoder implemented in C++Johannes Demel2015-09-218-41/+358
|
* polar: encoder implemented in C++Johannes Demel2015-09-214-1/+186
|
* polar: Python test code for polar codesJohannes Demel2015-09-2110-0/+2682
|
* Merge remote-tracking branch 'jdemel/fec/fix-extended_encoder'Tom Rondeau2015-07-202-1/+51
|\
| * fec: added tests for extended_encoder input/output conversion.Johannes Demel2015-07-201-1/+48
| |
| * fec: extended encoder now appends unpack_k_bits(8) block after encoder to ↵Johannes Demel2015-07-201-0/+3
| | | | | | | | satisfy get_output_conversion() = unpack behaviour
* | fec: code clean-up for block 'ber_bf'.Johannes Demel2015-07-201-3/+33
| |
* | fec: fixed QA for ber_bf.Johannes Demel2015-07-171-28/+29
|/
* fec: qa: fix use of Bool type to be actual boolean Python valuesMichael Dickens2014-10-131-4/+4
|
* fec: removed ber_tools; unnecessary and not exported. Replaced compber with ↵Tom Rondeau2014-10-061-0/+141
| | | | | | call to VOLK's popcount. Added QA for ber_bf block and provided documentation for it.
* fec: wip: adding qa code.Tom Rondeau2014-05-196-0/+646
| | | | capillary threaded encoders and decoders check to make sure dimension is a power of 2 for proper threading.
* blocks: adding reverse packing/unpacking functions.Tom Rondeau2014-05-176-46/+286
|
* fec: wip: adding extended encoder for async version.Tom Rondeau2014-05-173-0/+69
| | | | not quite working yet, needs work on the message-passing hier_block and added async puncturing block.
* fec: wip: cleaning up tagged decoder, rep code.Tom Rondeau2014-05-172-2/+13
|