Forum: GNU Radio Where is gr.fft_vcc??

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
36d6b4ceb15343f9e412cc17be319902?d=identicon&s=25 Santi Ortega (Guest)
on 2008-11-11 16:56
(Received via mailing list)
I have been working with usrp_spectrum_sense.py but I haven't found the
file
where it does the fft:

fft = gr.fft_vcc (self.fft_size, True, mywindow)

I've found the file window.py and self.fft_size is taken from the
options...
But I dont't know the fft file!

Could anyone tell me??


Thanks in advance!
79723aa1b24981dcec2dbf7fd59403c1?d=identicon&s=25 Brian Padalino (Guest)
on 2008-11-11 17:06
(Received via mailing list)
On Tue, Nov 11, 2008 at 10:55 AM, Santi Ortega
<santiortega2000@gmail.com> wrote:
> I have been working with usrp_spectrum_sense.py but I haven't found the file
> where it does the fft:
>
> fft = gr.fft_vcc (self.fft_size, True, mywindow)
>
> I've found the file window.py and self.fft_size is taken from the options...
> But I dont't know the fft file!
>
> Could anyone tell me??

The power of swig allows the Python code to talk to the C++ defined
here:

    http://gnuradio.org/trac/browser/gnuradio/trunk/gn...

Hopefully you can follow it from there.

Brian
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2008-11-11 17:10
(Received via mailing list)
On Tue, Nov 11, 2008 at 03:55:59PM +0000, Santi Ortega wrote:
> Thanks in advance!
grep knows:

  $ find . \( -name '*.cc' -o -name '*.h' \) -print | xargs grep -l
fft_vcc
  ./gr-gcell/src/gcell_fft_vcc.cc
  ./gr-gcell/src/gcell_fft_vcc.h
  ./gr-gcell/src/gcell.cc
  ./gnuradio-core/src/lib/swig/gnuradio_swig_py_general.cc
  ./gnuradio-core/src/lib/general/gr_fft_vcc.h
  ./gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc
  ./gnuradio-core/src/lib/general/gr_fft_vcc_fftw.h
  ./gnuradio-core/src/lib/general/gr_fft_vcc.cc

(Look in the last 4 files listed)


The SWIG .i files that define the interfaces to python are

  ./gnuradio-core/src/lib/general/gr_fft_vcc.i
  ./gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc

Eric
This topic is locked and can not be replied to.