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!
on 2008-11-11 17:56
on 2008-11-11 18:06
On Tue, Nov 11, 2008 at 10:55 AM, Santi O. <firstname.lastname@example.org> 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
on 2008-11-11 18:10
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