I found one modified example from usrp_spectrum_sense.py which mentioned the
power and noise calculation, could u plz help me figure out how it works?
for i_bin in range(bin_start, bin_stop):
center_freq = m.center_freq
freq = bin_freq(i_bin, center_freq)
I assume m.data is a list of FFT magnitude-squared data; it can't be complex
otherwise math.log10() won't work. It must be magnitude-squared since it is
using 10*math.log10(), otherwise it needs to be 20*math.log10().
It finds the minimum out of all the bins and calls that the noise floor.
For