Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
Never mind, ignore that. Still seems to be working strangely. madengr wrote > So if I swap positions of the "throttle" and "vector to stream", and > setting throttle for rate of 30 and 1024 items, then it works fine. It > seems the throttle has to be immediately after the file source, otherwise

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
So if I swap positions of the "throttle" and "vector to stream", and setting throttle for rate of 30 and 1024 items, then it works fine. It seems the throttle has to be immediately after the file source, otherwise it gets fouled up. Lou madengr wrote > Try this: > > https://www.dropbox.com/s/

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
If you are working off a file source, then you should be able to use the "head" block to limit the number of samples read from the file. For example, if you want to average 32 spectrums of length 1024, then you need 32*1024 samples in the "head". Sorry, no idea how to change the default time plot

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
But the throttle should roughly slow it down to a real-time rate. The top half of my grc file updates about 1 spectrum/second via a throttle, and writes those vectors to disk. If I read back the the file also through a throttle, it should have about the same rate, but it's much slower. Note to d

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread Adellain TSIAHINA
Thanks a lot Lou and Marcus, Lou -> I tried your spectrum.grc file with my data file instead of your cosine + gaussian noise and it works. The "integrate" block is really the one I was looking for! Now ideally I'd like to save only ONE spectrum instead of "animations" How to achieve this (e.g. I

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
Yes, but I have a throttle after that file source, so it should be updating about 1 vector/second (each vector is 1024 samples). It's happening about 1/8 that speed, so something does not seem quite right. Lou Marcus D. Leech wrote > Files don't have any inherent sample-rate. Regardless of what

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread Marcus Müller
This cannot be stressed enough. What GNU Radio processes is nothing but series of numbers. Just like these numbers don't have a physical unit (lest you interpret them as physically significant), the don't have a rate. Furthermore, and this also is something very often misunderstood, throttle doe

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-30 Thread Marcus D. Leech
On 05/30/2016 09:19 PM, madengr wrote: Try this: https://www.dropbox.com/s/7xsg4arx5h3gvah/spectrum.grc?dl=0 The integrate with decimation is what you want. Starting at 32 ksps with a 1024 length FFT length yields 31.25 vector/sec. Then an integrate with decimation by 32 averages down to 0.98

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-30 Thread madengr
Try this: https://www.dropbox.com/s/7xsg4arx5h3gvah/spectrum.grc?dl=0 The integrate with decimation is what you want. Starting at 32 ksps with a 1024 length FFT length yields 31.25 vector/sec. Then an integrate with decimation by 32 averages down to 0.98 vector/sec. However when I try reading

[Discuss-gnuradio] accumulate spectrum

2016-05-30 Thread Adellain TSIAHINA
Dear All, I'm new to Gnu Radio. I looked carefully to the doc and tutorials but could not find any simple answer to my problem. I have a radio signal from which I'm able to visualize the FFT in GNU Radio Companion. Now I would like to save the FFT (more exactly the magnitude squared, or the spectr