|
From: | lishan_wh |
Subject: | [Discuss-gnuradio] how to get dBm value from usrp_spectrum_sense.py |
Date: | Thu, 17 Jun 2010 18:03:46 +0800 (CST) |
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!
[Prev in Thread] | Current Thread | [Next in Thread] |