Santi_O
1
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!
Santi_O
2
On Tue, Nov 11, 2008 at 10:55 AM, Santi O.
[email protected] 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/gnuradio-core/src/lib/general/gr_fft_vcc.cc
Hopefully you can follow it from there.
Brian
Santi_O
3
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