##// END OF EJS Templates
AMISR modules to read hdf5 files and link to SignalChain Objects...
AMISR modules to read hdf5 files and link to SignalChain Objects Two examples: to read hdf5 files and show RTI and Spectra from specific Beam

File last commit:

r304:e57b3a4fabda
r491:3acb3a6f21eb
Show More
cfunctions.pyx
9 lines | 278 B | text/x-cython | CythonLexer
import numpy
cimport numpy
def decoder(numpy.ndarray[numpy.complex_t, ndim=2] fft_code, numpy.ndarray[numpy.complex_t, ndim=2] data):
fft_data = numpy.fft.fft(data, axis=1)
conv = fft_data*fft_code
data = numpy.fft.ifft(conv, axis=1)
return data