This sounds interesting - do you have any sample code?
Can anybody explain the concept of “size” of an fft (Arg 1 of fft .
fft_vcc ) comes into play if the output of that FFT generates as many
samples as it receives?
----- Original Message -----
From: “John M.” [email protected]
To: “Brad H.” [email protected]
Cc: “Martin B.” [email protected], [email protected]
Sent: Friday, October 17, 2014 1:50:31 AM
Subject: Re: [Discuss-gnuradio] help accessing fft bins in python script
Sometimes when I want to grab samples and perform some periodic
operation like CNR estimation, or fine-frequency estimation I sometimes
use a vector_sink, and then two function probe blocks - one to read the
data and one to reset it (yes I call the reset function from the
function probe). This seems to work wonderfully for certain corner cases
where a vector sink doesn’t work well. And I mostly use this technique
when I want to prototyping something quickly before writing a block. But
am I asking for trouble with memory allocation issues???
Also, I was thinking, it would be good to have the option, either a
block parameter or an overloaded function) to reset the vector_sink,
each time .data() is called… I can code this up unless anyone thinks
this functionality would lead to regressions.
But I agree the vector sink block is much more convenient for FFTs…
-John
On Thu, Oct 16, 2014 at 5:37 PM, Brad H. < [email protected] > wrote:
Is there any way to access the fft bins from python without writing a
custom block?
From: “Martin B.” < [email protected] >
To: [email protected]
Sent: Thursday, October 16, 2014 2:02:03 PM
Subject: Re: [Discuss-gnuradio] help accessing fft bins in python script
A very simple way would just be to write your block downstream of the
FFT in Python. You can then operate on the vectors in the work function.
M
On 10/16/2014 07:44 PM, [email protected] wrote:
and then leverage the dependency-tree evaluator to have my own
however because when I review the vector sink’s data() method, it
http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/master/entry/gr-fft/python/fft/qa_fft.py
Discuss-gnuradio Info Page
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio