hichamjanati / pyldpc

Creation of LDPC codes & simulation of coding and decoding binary data. Applications to sound and image files.
BSD 3-Clause "New" or "Revised" License
119 stars 32 forks source link

fix systematic G for large matrices + doc #12

Closed hichamjanati closed 4 years ago

hichamjanati commented 4 years ago

This PR fixes a bug when computing the systematic coding matrix G for large LDPC codes.

codecov[bot] commented 4 years ago

Codecov Report

Merging #12 into master will decrease coverage by 0.17%. The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   90.29%   90.11%   -0.18%     
==========================================
  Files          14       14              
  Lines         577      587      +10     
  Branches       93       94       +1     
==========================================
+ Hits          521      529       +8     
- Misses         35       36       +1     
- Partials       21       22       +1
Impacted Files Coverage Δ
pyldpc/code.py 85.71% <71.42%> (-2.24%) :arrow_down:
pyldpc/tests/test_audio.py 100% <0%> (ø) :arrow_up:
pyldpc/tests/test_image.py 100% <0%> (ø) :arrow_up:
pyldpc/tests/test_decoding.py 100% <0%> (ø) :arrow_up:
pyldpc/tests/test_code.py 100% <0%> (ø) :arrow_up:
pyldpc/decoder.py 94.2% <0%> (+0.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 55874f5...6d8a031. Read the comment docs.