discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: How to print a list of the frequencies that are in the spectrum?


From: Dor Ratz
Subject: Re: How to print a list of the frequencies that are in the spectrum?
Date: Tue, 17 May 2022 22:19:17 +0300

Hey,

Thanks a lot. 


First of all, I use GNURADIO version 3.8.2 , this is the picture of the setup :
image.png

For example here the frequency of the signal source is 10khz and it can be seen here:

image.png

My questions are:

1.How can I find the frequencies with relative gain higher than some threshold ?

2. What is exactly the input "input_items"? is it a list of gain vs what? What are the indexes? 

image.png


I try to understand what input carries the power vs frequency information in a list?  Is there anything like that?

I try to solve it without scipy, just with lists or numpy.




This is my code:

image.png

Thanks a lot 

Dor

Virus-free. www.avg.com

‫בתאריך יום ג׳, 17 במאי 2022 ב-19:28 מאת ‪Marcus Müller‬‏ <‪mueller@kit.edu‬‏>:‬
Hi Dor,

just a quick reminder: you're still using WX gui, which has been
deprecated for roughly a decade, and GNU Radio 3.7, which is end of life.
This could be relatively easily be solved using a Python block of your
own design. Sadly, GNU Radio 3.7's support for these is relatively
limited. It would be, on very many levels, be a good idea to use a more
modern version of GNU Radio (e.g., 3.10).

Best regards,
Marcus

On 16/05/2022 09.11, Dor Ratz wrote:
> Hey,
>
> How can I print a list of the maximal frequencies that are in the spectrum?
>
> For example, I connect this signal source with frequency of 1KHz, so I
> want to print 1KHz:
>
> image.png
> There is the input_items[0], but if I try to print (max.input_items[0])
> I get the power of incoming signal and not the frequency, so I'm not how
> to do it.
>
>
> Thanks,
>
> Dor

reply via email to

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