• 大小: 17KB
    文件类型: .py
    金币: 2
    下载: 1 次
    发布日期: 2021-06-12
  • 语言: Python
  • 标签: viterbi  

资源简介

基于python的咬尾卷积viterbi译码器实现 其中包括CRC校验

资源截图

代码片段和文件信息

import math                                                                                                              
import random                                                                                                            
import numpy as np                                                                                                       
from source import *                                                                                                     
import pprint                                                                                                            
import copy                                                                                                              
import logging                                                                                                           
‘‘‘                                                                                                                      
------------------------------------------                                                                               
     [dind0d1d2d3d4d5]                                                                                             
               m00                                                                                                       
     pm_in0  +----+ pm_out0                                                                                              
              \  / bm10                                                                                                  
               \/                                                                                                        
               /\                                                                                                        
              /  \ bm01                                                                                                  
     pm_in1  +----+ pm_out1                                                                                              
              bm11                                                                                                       
------------------------------------------                                                                               
‘‘‘                                                                                                                      
class TailBitingConv:                                                                                                    
    def __init__(self):                                                                                                  
        self.poly_x = 0o133                                                                                              
        self.poly_y = 0o171                                                                                              
        self.poly_z = 0o165                                             

评论

共有 条评论