On Mon, Jul 29, 2013 at 9:38 AM, Manu T S <manu.t.s...@gmail.com> wrote: > Hi, > > I have created a file dump with samples from USRP output. Samples are in > gr_complex format. Now I want to read data from the file to compute FFT. How > can I read complex numbers in python from this binary file? > > -- > Manu T S
See here: http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#What-is-the-file-format-of-a-gr_file_sink There are also a handful of plotting tools in gr-qtgui/apps that read from files using the scipy.fromfile function mentioned in the above FAQ. You can use these for references. Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio