##// END OF EJS Templates
This is the new organization by packages and scripts for Signal Chain, this version contains new features and bugs fixed until August 2014
This is the new organization by packages and scripts for Signal Chain, this version contains new features and bugs fixed until August 2014

File last commit:

r304:e57b3a4fabda
r487:89975db10cce
Show More
cfunctions.pyx
9 lines | 278 B | text/x-cython | CythonLexer
Miguel Valdez
Se anadio el modulo cfunctions donde se agrego la funcion optimizada para decodificar
r301 import numpy
cimport numpy
Miguel Valdez
Mensaje del tiempo ocupado en decodificar
r304 def decoder(numpy.ndarray[numpy.complex_t, ndim=2] fft_code, numpy.ndarray[numpy.complex_t, ndim=2] data):
Miguel Valdez
Se anadio el modulo cfunctions donde se agrego la funcion optimizada para decodificar
r301
fft_data = numpy.fft.fft(data, axis=1)
conv = fft_data*fft_code
data = numpy.fft.ifft(conv, axis=1)
return data