Hi,

I wonder how can I get the dBm value by using usrp_spectrum_sense.py.

should I do it as follows?

fft = gr.fft_vcc()

c2mag = gr.complex_to_mag_squared()   (or without squared?)

log = gr.nlog10_ff()

stats = gr.bin_statistics_f()

self.connect(self.u,s2v,fft,c2mag,log,stats)

in main function, I defined 

m = parse_msg(tb.msgq.delete_head())

Is mean(m.data) the dBm value? If it isn't, how can I get the it?

Thank you!
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to