Re: [Discuss-gnuradio] log POWER FFT Output - Samples flipped in frequency

2015-01-28 Thread Martin Braun
On 01/28/2015 10:03 AM, Jorge Gallo wrote: > I just need to flip the samples and I guess there is a recommended way > to do that. Can numpy.fft.fftshift() do the work? Sure, just wrap that into a Python (sync) block. Make sure to operate on vectors of the correct length! Your itemsize should proba

Re: [Discuss-gnuradio] log POWER FFT Output - Samples flipped in frequency

2015-01-28 Thread Jorge Gallo
Hello, I guess it shouldn't be very difficult to change in order to get the output is from -BW/2 to BW/2 instead of [DC BW/2 + -BW/2 DC]. Should I modify my python flowgraph or my "log POWER FFT" hier block? I just need to flip the samples and I guess there is a recommended way to do that. Can n

Re: [Discuss-gnuradio] log POWER FFT Output - Samples flipped in frequency

2015-01-19 Thread Marcus D. Leech
On 01/19/2015 07:24 AM, Jorge Gallo wrote: Hi, I am working with a B200 and GNURadio over Debian. At first sight, UHD driver and GNURadio work fine with my B200. In my first example I am sampling at 2Msamples centered at 938MHz. I generate a 20KHz FM signal with my generator at 937.1MHz. W

Re: [Discuss-gnuradio] log POWER FFT Output - Samples flipped in frequency

2015-01-19 Thread Martin Braun
Looks like the log power fft doesn't fftshift. I didn't even know we had such a block :) It's a hier block anyway, you could chain fft -> complex to mag² -> qt gui vector sink for equal results. M On 01/19/2015 01:24 PM, Jorge Gallo wrote: > Hi, > > I am working with a B200 and GNURadio over Deb