discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Simple energy detector


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Simple energy detector
Date: Tue, 30 Jul 2013 18:35:51 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 07/30/2013 06:14 PM, dilip thapa wrote:
Hi,
 
I need grc/script with energy detector. Algorithm is very simple
  1. sense in each 2 sec
  2. In each interval check the power (energy level) for given frequency
  3. If the energy level is greater than threshold
    1. return 1
    2. else return 0
 
Please help me, I’m stuck on this. I have checked usrp_spectrum_sense.py but can’t get any clue.
 
Thanks in advance.
Dilip
 
 
Sent from Windows Mail
 


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
There's a probe_avg_mag**2 block, which computes the instantaneous power and runs it through an averager.  You can then probe that at whatever
  rate you want in a Python routine. 



reply via email to

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