Re: [Discuss-gnuradio] bins osmocom_spectrum_sense

2017-01-25 Thread Marc Pàmies Massip
Yes! I realised that right after sending the message. I was confused because the results were not making sense to me (I was computing the bins resolution in the wrong way, using the reduced sample rate due to FFT overlapping instead of the original one), and I ended up asking a stupid question..

Re: [Discuss-gnuradio] bins osmocom_spectrum_sense

2017-01-25 Thread Kyeong Su Shin
To whom it may concern: I don't know osmocom_spectrum_sense well enough to answer this, but I believe that the purpose of the overlapping is to remove aliasing and the filter roll-off. If that is the case, you must drop from the both side, not from one side (assuming symmetrical filter). Regardin

Re: [Discuss-gnuradio] bins osmocom_spectrum_sense

2017-01-25 Thread Sylvain Munaut
> Does anyone know why the first and last 25% of FFT bins are discarded? I am > talking about the following lines of code: > > line 267: bin_start = int(tb.fft_size * ((1 - 0.75) / 2)) > line 277: bin_stop = int(tb.fft_size - bin_start) Read that code again ... it discards the first and last 12.5%

[Discuss-gnuradio] bins osmocom_spectrum_sense

2017-01-23 Thread Marc Pàmies Massip
Dear all, I think that my last question regarding osmocom_spectrum_sense was too general to be answered, so I will try with something more specific. Does anyone know why the first and last 25% of FFT bins are discarded? I am talking about the following lines of code: line 267: bin_start = int(