|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Capture peaks in gnu radio |
Date: | Sun, 14 Feb 2016 20:21:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
Hi Maksim, well, that's basically a detector. From what you describe, you'd take your signal, push it through a spectrum estimator, in the simples case that's just the Mag-Square-FFT, and then write really but a few lines of python code that selects the right "peaks" from the resulting sample vectors and saves them. The sample (vector) number is equivalent to time, and the FFT bin would be equivalent to frequency. There's really no way around writing your own code -- after all, this is all very specific to your application's needs and is doing something that logically doesn't look like a "stream" operation. But, again, this whole application is really just three blocks, of which you really just need to implement the last one yourself: USRP source->Log Power FFT->[your block] That's just a basic concept -- you could also replace "Log Power FFT" by any other power spectrum estimator that you can think of. You don't have to implement your last block in Python, if you're more comfortable with C++... Best regards, Marcus On 02/14/2016 01:24 PM, scott tiger
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |