⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hamming_bec_perf.py

📁 著名的ldpc编解码的资料及源代码
💻 PY
字号:
"""This script tests the BEC quantizer on the dual of a Hamming code.The features that make this test interesting are that the code issmall enough to visualize or decode with pencil and paper, yet stillcontains cycles.  """from pycodes.utils.bec_quant_perf import *tester = BECTester([CodeParams(N=7,K=4,E=12,L=[[0,1,2,4],[1,2,3,5],[2,3,4,6]],                              name='Hamming BEC Test',                              numToErase=[0,1,2,3,4,5,6],                              numTrials=[100]*7)])tester.ReportStats(title='Dual of (7,4) Hamming Code Test',                   reportFile='/tmp/Hamming_BEC_perf.txt',                   imgFile='/tmp/Hamming_BEC_perf.eps')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -