[Discuss-gnuradio] how to get dBm value from usrp_spectrum_sense.py

2010-06-17 Thread lishan_wh
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

Re: [Discuss-gnuradio] how to get dBm value from usrp_spectrum_sense.py

2010-06-17 Thread Martin Braun
On Thu, Jun 17, 2010 at 06:03:46PM +0800, lishan_wh wrote: 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 =

Re: [Discuss-gnuradio] how to get dBm value from usrp_spectrum_sense.py

2010-06-17 Thread John Orlando
2010/6/17 lishan_wh lishan...@126.com: 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()