Re: [Discuss-gnuradio] About the latest submission of usrp_spectrum_sense.py

2013-07-27 Thread Mike Jameson
Hi Ahmed, You will need to use a calibrated rf source to compare your USRP N210 SDR receiver against and adjust the power_db result (without subtracting the noise floor result from it) to match. I assume it will be a simple case of adding or subtracting 'X' db's to the power_db result for each cal

Re: [Discuss-gnuradio] About the latest submission of usrp_spectrum_sense.py

2013-07-27 Thread Mike Jameson
Hi Ahmed, Dividing the bin power by the sample rate in the calculation for noise_floor_db and power_db (lines 286 and 287 of https://github.com/gnuradio/gnuradio/commit/cc12277f64207ff79a40094268c843e6b3e2d2d3#L0R286) was done so that the power level stays constant if the sample rate is increased.

Re: [Discuss-gnuradio] About the latest submission of usrp_spectrum_sense.py

2013-07-27 Thread Ahmed Saeed
Hi Mike, Thank you for your reply. So what if I want to sense with the sensing threshold set by the FCC for white spaces at -114 dBm or -107 dBm. How does the value of "power_db" relates to the value I should compare against given the FCC thresholds ? Kind regards, Ahmed Saeed. On Sat, Jul 27,