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.
Santi O. (Guest)
on 2008-11-11 17: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!
Brian P. (Guest)
on 2008-11-11 18:06
(Received via mailing list)
On Tue, Nov 11, 2008 at 10:55 AM, Santi O.
<removed_email_address@domain.invalid> 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
Eric B. (Guest)
on 2008-11-11 18:10
(Received via mailing list)
On Tue, Nov 11, 2008 at 03:55:59PM +0000, Santi O. 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.