discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] usrp_spectrum sense


From: Mike Jameson
Subject: Re: [Discuss-gnuradio] usrp_spectrum sense
Date: Thu, 25 Apr 2013 19:28:34 +0100

Hi Azim,

This seems to work for me, just update the function on line 265 with the following two lines:

power_db = float(20*math.log10(power))
print freq, power, power_db

Cheers,

Mike

--
Mike Jameson M0MIK BSc MIET
Email: address@hidden
Web: http://scanoo.com


On 22 April 2013 03:57, Aziem Aziem <address@hidden> wrote:
hi mike,

    how can i convert the m.data in usrp spectrum sense in dB....
log = gr.nlog10_ff(10, self.fft_size,
-20*math.log10(self.fft_size)-10*math.log10(power/self.fft_size))

not clear with it... any suggestion?

tq

azim


reply via email to

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