##// END OF EJS Templates
Affected:...
Affected: jrodata.py: JROData class: profileIndex attribute was added JROVoltage class: jroIO_base.py: JROReader class: nTxs and txIndex attributes were added jroIO_voltage.py: JROVoltageReader class: nTxs and txIndex attributes were added in order to divide one profile in sub-profiles jroproc_voltage.py: JROVoltageProc class: Decoder: Decoded data has the same dimension as profile ProfileSelector : This method use the profileIndex attribute of Voltage object Reshaper:

File last commit:

r304:e57b3a4fabda
r534:e42d2b934f89
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