Polar_codes_BEC
Project description
POLAR CODES ANLYSIS IN BINARY EREASURE CHANNEL
A demo library for polar codes in BEC about publishing librairies
installation
pip install Polar_codes_BEC
GET STARTED
the effect of polar codes in BEC
from Polar_codes_BEC import Polar_bec
# this function init variabls
Polar_bec.__init__(0)
# p is the ereasure probability
p=0.5
# n is the polar code length
n=4
#result
print('the new erasure probability values is',Polar_bec.BEC(p,n))
Simulation & Plotting
A function to simulate a defined polar code in BEC,
#this function help users to enter values
(p,n)=Polar_bec.input_p_n(0)
#p=0.7
#n=8
Polar_bec.BEC_graph(p,n)
The simulation will show the polar code result for example:
Please enter the ereasure probability:
0.5
the ereasure probability is 0.5
Please enter the code length:
8
the code length is 8
[0.00390625, 0.12109375, 0.19140625, 0.68359375, 0.31640625, 0.80859375, 0.87890625, 0.99609375]
after polarization we get 4 of bad channels : [0.68359375, 0.80859375, 0.87890625, 0.99609375]
after polarization we get 4 of good channels : [0.00390625, 0.12109375, 0.19140625, 0.31640625]
Graphical interface
An example of GUI to plot a specified polar code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Polar_codes_BEC-1.2.3.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Polar_codes_BEC-1.2.3.tar.gz.
File metadata
- Download URL: Polar_codes_BEC-1.2.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7c7ce10a15a8916bbf6a7f96a0bd8138233de1745bab60aa675e190ff79f1c0
|
|
| MD5 |
faccb9b9fe34e78b0555d051065b00ee
|
|
| BLAKE2b-256 |
c4f272d171fd57ee212f26b2be4721351f7a1e857df338abcf2503782c86d383
|
File details
Details for the file Polar_codes_BEC-1.2.3-py3-none-any.whl.
File metadata
- Download URL: Polar_codes_BEC-1.2.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2822c523dd4c3fae215555fb10631d4e0fa0a983d7701fb712437b82615d7725
|
|
| MD5 |
6a02e683d5e00d79f8062576f7bd18a1
|
|
| BLAKE2b-256 |
c24671608573fbfd4c92b157126b20ffbeb1b306ae48b8ed757e234f532e3680
|