[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] question on using gr.file_source
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] question on using gr.file_source |
Date: |
Sun, 13 Jan 2008 09:44:57 -0800 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Sun, Jan 13, 2008 at 08:16:03PM +0800, Jason Anders wrote:
> Hi! I'm quite new to GNU Radio and I was wondering whether I could
> access via index the values obtained after the gr.file_source()
> command?
>
> I mean, could I retrieve contents just as if it were an array? Thanks!
GNU Radio is not MATLAB ;)
The primary abstraction we deal with is an infinite stream of "items" (samples).
gr.file_source produces a stream of samples that is typically run into
other processing blocks. While locally the implementation of those
blocks has a way to index the ones that are handed to it, the way to
think of it is as an infinite stream of samples.
Not sure that this answered your question...
Eric