discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Units of data saved by filesink


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Units of data saved by filesink
Date: Mon, 29 Jul 2019 12:19:24 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 07/29/2019 08:22 AM, Ellie White wrote:
Hi Marcus,

Thanks for the interesting tidbit -- and yes, I'll be following your advice on using the integrated block for sure. And by the way -- I've got one more question on a similar theme as the previous one. I modified my flowgraph again (attached), and am now saving two data streams -- real and imaginary -- to two separate data files and processing them using the attached python program. In the python program, I am performing the same conversion as the Complex to Mag^2 Block, but yet again I am getting different answers from what I expect (on the order of 10^-5 instead of ~0.01). Do you have any suggestions as to what could be causing the difference I am seeing? I am wondering if it has something to do with Python's handling of the different IO types, but could definitely be wrong on that. Any advice is much appreciated!

Thanks Marcus! Take care,
Ellie

Looks like your python program isn't squaring the real and imaginary components -- the values for "y" are never considered in your program :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]