@@ -649,10 +649,11 class Decoder(Operation): | |||||
649 | def convolutionInTime(self, data): |
|
649 | def convolutionInTime(self, data): | |
650 |
|
650 | |||
651 | ini = time.time() |
|
651 | ini = time.time() | |
652 | print self.datadecTime.shape, data.shape, code.shape |
|
|||
653 |
|
652 | |||
654 | code = self.code[self.__profIndex].reshape(1,-1) |
|
653 | code = self.code[self.__profIndex].reshape(1,-1) | |
655 |
|
654 | |||
|
655 | print self.datadecTime.shape, data.shape, code.shape | |||
|
656 | ||||
656 | for i in range(self.__nChannels): |
|
657 | for i in range(self.__nChannels): | |
657 | self.datadecTime[i,:] = numpy.correlate(data[i,:], code, mode='valid') |
|
658 | self.datadecTime[i,:] = numpy.correlate(data[i,:], code, mode='valid') | |
658 |
|
659 |
General Comments 0
You need to be logged in to leave comments.
Login now