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

Parallel coding and decoding + simplify images + audio use #7

Closed hichamjanati closed 4 years ago

hichamjanati commented 4 years ago

This PR makes coding and decoding parallel across multiple binary messages at once + adds two examples.

codecov[bot] commented 4 years ago

Codecov Report

Merging #7 into master will increase coverage by 1.63%. The diff coverage is 88.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   88.65%   90.29%   +1.63%     
==========================================
  Files          14       14              
  Lines         670      577      -93     
  Branches      119       93      -26     
==========================================
- Hits          594      521      -73     
+ Misses         43       35       -8     
+ Partials       33       21      -12
Impacted Files Coverage Δ
pyldpc/tests/test_audio.py 100% <100%> (ø) :arrow_up:
pyldpc/code.py 87.95% <100%> (+0.14%) :arrow_up:
pyldpc/encoder.py 100% <100%> (ø) :arrow_up:
pyldpc/tests/test_image.py 100% <100%> (ø) :arrow_up:
pyldpc/ldpc_images.py 86.44% <82.35%> (+8.88%) :arrow_up:
pyldpc/ldpc_audio.py 83.33% <84%> (-4.17%) :arrow_down:
pyldpc/utils.py 82.14% <85.71%> (-0.04%) :arrow_down:
pyldpc/decoder.py 94.11% <95.65%> (+5.88%) :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 25007f6...287008f. Read the comment docs.