@@ -612,15 +612,23 class Decoder(Operation): | |||||
612 |
|
612 | |||
613 | fft_code = self.fft_code[self.__profIndex].reshape(1,-1) |
|
613 | fft_code = self.fft_code[self.__profIndex].reshape(1,-1) | |
614 |
|
614 | |||
|
615 | print "Freq0 ", time.time() - ini | |||
|
616 | ||||
615 | fft_data = numpy.fft.fft(data, axis=1) |
|
617 | fft_data = numpy.fft.fft(data, axis=1) | |
616 |
|
618 | |||
|
619 | print "Freq1 ", time.time() - ini | |||
|
620 | ||||
617 | conv = fft_data*fft_code |
|
621 | conv = fft_data*fft_code | |
618 |
|
622 | |||
|
623 | print "Freq2 ", time.time() - ini | |||
|
624 | ||||
619 | data = numpy.fft.ifft(conv,axis=1) |
|
625 | data = numpy.fft.ifft(conv,axis=1) | |
620 |
|
626 | |||
|
627 | print "Freq3 ", time.time() - ini | |||
|
628 | ||||
621 | datadec = data[:,:-self.nBaud+1] |
|
629 | datadec = data[:,:-self.nBaud+1] | |
622 |
|
630 | |||
623 | print "Freq ", time.time() - ini |
|
631 | print "Freq4 ", time.time() - ini | |
624 |
|
632 | |||
625 | return datadec |
|
633 | return datadec | |
626 |
|
634 |
General Comments 0
You need to be logged in to leave comments.
Login now