Re: [Discuss-gnuradio] about usrp_spectrum_sense.py

2010-06-14 Thread Gregor Dschung
Hey Lishan or Wh or whatever your name is..., The part you posted from usrp_spectrum_sense.py is taken from gr-wxgui/src/python/fftsink_nongl.py. There are some comments in the code which tries to explain the gr.nlog10_ff-block: the variable "power" is mentioned there. The window is use

[Discuss-gnuradio] about usrp_spectrum_sense.py

2010-06-14 Thread lishan_wh
Hi, I have some difficulties in unserstanding the statements belowin usrp_spectrum_sense.py. fft = gr.fft_vcc(self.fft_size, True, mywindow) power = 0 for tap in my wondow: power += tap*tap What is stored in window and what is tap? Where is the FFT data stored? I turned to C++ file gr