[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Reading complex numbers from file dump.
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Reading complex numbers from file dump. |
Date: |
Mon, 29 Jul 2013 10:55:04 -0400 |
On Mon, Jul 29, 2013 at 9:38 AM, Manu T S <address@hidden> 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