@@ -627,7 +627,7 class Decoder(Operation): | |||
|
627 | 627 | def __convolutionByBlockInTime(self, data): |
|
628 | 628 | |
|
629 | 629 | repetitions = self.__nProfiles / self.nCode |
|
630 | ||
|
630 | ||
|
631 | 631 | junk = numpy.lib.stride_tricks.as_strided(self.code, (repetitions, self.code.size), (0, self.code.itemsize)) |
|
632 | 632 | junk = junk.flatten() |
|
633 | 633 | code_block = numpy.reshape(junk, (self.nCode*repetitions, self.nBaud)) |
@@ -682,7 +682,9 class Decoder(Operation): | |||
|
682 | 682 | print "Fail decoding: Code is not defined." |
|
683 | 683 | return |
|
684 | 684 | |
|
685 | self.__nProfiles = dataOut.nProfiles | |
|
685 | 686 | datadec = None |
|
687 | ||
|
686 | 688 | if mode == 3: |
|
687 | 689 | mode = 0 |
|
688 | 690 |
General Comments 0
You need to be logged in to leave comments.
Login now