##// END OF EJS Templates
Creacion automatica del directorio donde se almacenará los archivos gráficos
Creacion automatica del directorio donde se almacenará los archivos gráficos

File last commit:

r304:e57b3a4fabda
r326:63175e38b0b0
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