Skip to main content

Simulation of Low Density Parity Check Codes ldpc

Project description

version 0.7.2

Bug-fix release

In Brief:

  • Generates coding and decoding matrices.

  • Probabilistic decoding: Belief Propagation algorithm.

  • Images transmission simulation (channel model: AGWN).

  • Sound transmission simulation (channel model :AGWN).

Image coding-decoding example:

https://media.giphy.com/media/l4KicsAauqIWjeFR6/giphy.gif https://media.giphy.com/media/l0COHC49bK6g7yIPm/giphy.gif

Sound coding-decoding example:

Sound Transmission

Installation

From pip:

$ pip install --upgrade pyldpc

Tutorials:

Jupyter notebooks:

Many changes in tutorials in v.0.7.0

  • Users’ Guide:

1- LDPC Coding-Decoding Simulation

2- Images Coding-DecodingTutorial

3- Sound Coding-DecodingTutorial

4- LDPC Matrices Construction Tutorial

  • For LDPC construction details:

1- pyLDPC Construction(French)

2- LDPC Images Functions Construction

3- LDPC Sound Functions Construction

version 0.7.1

Contains:

  1. Coding and decoding matrices Generators:
    • Regular parity-check matrix using Callager’s method.

    • Coding Matrix G both non-systematic and systematic.

  2. Coding function adding Additive White Gaussian Noise.

  3. Decoding functions using Probabilistic Decoding (Belief propagation algorithm):
    • Default BP algorithm.

    • Full-log BP algorithm.

  4. Images transmission sub-module:
    • Coding and Decoding Grayscale and RGB Images.

    • Pixel by pixel coding & decoding (small matrices)

    • Row by row coding & decoding (large sparse matrices)

    • BER: Bit Error Rate function.

  5. Sound transmission sub-module:
    • Coding and Decoding audio files.

    • BER_audio: Bit Error Rate function.

What’s new:

  • Bug in using full rank parity check matrices fixed.

  • 5 to 10 times faster decoding.

  • Compatibility of scipy.sparse.csr objects (CSR format) and numpy arrays.

  • Row by row image decoding (More efficient than pixel coding) using large matrices.

  • 4 times faster coding.

In the upcoming versions:

  • Use of large matrices (csr) in sound transmission sub-module.

  • Library of ready-to-use large matrices (csr).

  • Text Transmission functions.

Contact:

Please contact hicham.janati@ensae.fr for any bug encountered / any further information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyldpc-0.7.2.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file pyldpc-0.7.2.tar.gz.

File metadata

  • Download URL: pyldpc-0.7.2.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyldpc-0.7.2.tar.gz
Algorithm Hash digest
SHA256 15feb04114a636a3a56218040ecb106f7421f8b067a7eef27216e9a111bb9257
MD5 75e25360dea03d87e34d5736883ec85b
BLAKE2b-256 f1bb5b1b2c9390ea31ec8ed74fb8e867e93a7f34cf7352bc21efc866848fc691

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page