##// END OF EJS Templates
Miguel Valdez -
r307:3ed1fe54aa45
parent child
Show More
@@ -629,7 +629,7 class Decoder(Operation):
629 629 return ndatadec, datadec
630 630
631 631 def convolutionInFreqOpt(self, data):
632 ini = time.time()
632
633 633 fft_code = self.fft_code[self.__profIndex].reshape(1,-1)
634 634
635 635 data = cfunctions.decoder(fft_code, data)
@@ -637,8 +637,6 class Decoder(Operation):
637 637 datadec = data[:,:-self.nBaud+1]
638 638 ndatadec = self.__nHeis - self.nBaud + 1
639 639
640 print time.time() - ini, "prof = %d, nCode=%d" %(self.__profIndex, self.nCode)
641
642 640 if self.__profIndex == self.nCode-1:
643 641 self.__profIndex = 0
644 642 return ndatadec, datadec
@@ -667,7 +665,7 class Decoder(Operation):
667 665 return ndatadec, datadec
668 666
669 667 def run(self, dataOut, code=None, nCode=None, nBaud=None, mode = 0):
670
668 ini = time.time()
671 669 if not self.__isConfig:
672 670
673 671 if code == None:
@@ -699,7 +697,8 class Decoder(Operation):
699 697 dataOut.heightList = dataOut.heightList[0:ndatadec]
700 698
701 699 dataOut.flagDecodeData = True #asumo q la data no esta decodificada
702
700
701 print time.time() - ini, "prof = %d, nCode=%d" %(self.__profIndex, self.nCode)
703 702 # dataOut.flagDeflipData = True #asumo q la data no esta sin flip
704 703
705 704
General Comments 0
You need to be logged in to leave comments. Login now