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/gr-uhd/examples/python/usrp_spectrum_sense.py)
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?? -- View this message in context: http://gnuradio.4.n7.nabble.com/USRP-Spectrum-Sensing-Power-in-dB-or-dBm-tp60372.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio