__init__.py
来自「著名的ldpc编解码的资料及源代码」· Python 代码 · 共 27 行
PY
27 行
"""The pycodes module contains various routines for error correctionand data compression codes in python.Currently low density parity check codes and their duals aresupported by the pycodes.pyLDPC package.Various utilities and tests are available in pycodes.tests andpycodes.utils.See the doc strings for these sub-modules for more details."""def TestExamples(): """ The following function tests all the examples in docstrings. """ import doctest, pycodes, pycodes.pyLDPC pycodes.__doc__ = __doc__ + '\n' + pycodes.pyLDPC.__doc__ for item in pycodes.pyLDPC.__dict__.keys(): pycodes.__doc__ += '\n' + pycodes.pyLDPC.__dict__[item].__doc__ return doctest.testmod(pycodes) print 'Tests Passed.'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?