Re: [Discuss-gnuradio] format of data in datafile produced by file_sink_c

2010-06-02 Thread Josh Blum
file_sink_c prodces complex floating point. Every 8 bytes is a complex float, where the first 4 bytes is a float representing I, and the second 4 bytes a float representing Q. if you were using numpy, it could be read with: numpy.fromfile(file, numpy.complex64) -Josh On 06/02/2010 11:25 AM,

[Discuss-gnuradio] format of data in datafile produced by file_sink_c

2010-06-02 Thread Yan Nie
Dear all, I'm wodering the format of data in datafile which produced by file_sink_c. I used octave function read_complex_binary to read the data. Since the usbdata is a 16-bit binary data sent from FPGA to usb controller, is the first 16 lines of the data represent the first sample point of the