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: m...@scanoo.com Web: http://scanoo.com On 22 April 2013 03:57, Aziem Aziem <cipot_sedo...@yahoo.com> 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 > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio