Forum: GNU Radio USRP Spectrum Sensing - Power in dB or dBm??

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B80b5601c277a1c7676be2ffec7c028e?d=identicon&s=25 Kumar Utkarsh (ingen)
on 2016-06-07 12:52
I'm a beginner working in Spectrum Sensing. I have been checking the
code given in the usrp_spectrum_sense.py file in GNU Radio.
(https://github.com/gnuradio/gnuradio/blob/master/g...)

The power calculated (at line 303) is in dB as given below :

power_db = 10*math.log10(m.data[i_bin]/tb.usrp_rate) - noise_floor_db


My query is whether the power calculated in dB is in reference to 1
Watt??
Can we convert this power to dBm?? What parameters are needed to be
checked or tuned in this program??

Also, how can we calculate the Power Spectral Density (PSD) from power
in dB with reference to given frequency??
This topic is locked and can not be replied to.