I find the example at the online page http://gnuradio.org/doc/doxygen/page_pfb.html very helpful (code at the end of the page). It runs and generates nice plots. Still trying to get used to it.
But the code at gr-filter/python/pfb.py does not run. It appears to be a module? How do I run it or use it? Also what does gr-filter/python/qa_pfb_channelizer.py do? Some of this trace to pfb_channelizer_ccf.cc code? What does "blks2" relate to this and other examples? Thanks for explaining, LD On Tue, May 14, 2013 at 3:10 PM, Ben Reynwar <b...@reynwar.net> wrote: > Ah, sorry, I misunderstood your question. Yes, the GRC block > pfb_channelizer_ccf is equivalent to the block in > gr-filter/python/pfb.py, and, in fact, will use this block in the > generated python. > > > On Tue, May 14, 2013 at 2:35 PM, LD Zhang <ldz10...@gmail.com> wrote: > > Is it equivalent to use the pfb_channelizer_ccf block in the GRC though? > > Does the GRC approach suffer reduced capability vs. the python approach? > > > > LD > > > > -----Original Message----- > > From: Ben Reynwar [mailto:b...@reynwar.net] > > Sent: Tuesday, May 14, 2013 2:30 PM > > To: LD Zhang > > Cc: discuss-gnuradio Discussion Group > > Subject: Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb? > > > > No, there's no way to produce a GRC file from a python file. > > > > On Tue, May 14, 2013 at 2:20 PM, LD Zhang <ldz10...@gmail.com> wrote: > >> Thanks I found it as in gr-filter/examples/python/pfb.py. I also found > >> something in gnuradio-core/src/examples/pfb directory. > >> > >> Have to excuse my ignorance here since I haven't really worked that > >> much with python approach. Have mostly stayed in GRC flow graph and > >> used the generator to get the python code. Once I have the generated > >> python code, then I can do simple edits to improve here and there. So > >> I am not quite used to reading the code as is. > >> > >> My question is: Is there a way to re-display the pfb.py back onto the > >> GRC graphical window? If not, what do I need to do in order to bring > >> it back to GRC? Is what I am trying here making sense at all? > >> > >> Thanks a lot, > >> > >> LD > >> > >> -----Original Message----- > >> From: Ben Reynwar [mailto:b...@reynwar.net] > >> Sent: Tuesday, May 14, 2013 1:47 PM > >> To: LD Zhang > >> Cc: discuss-gnuradio Discussion Group > >> Subject: Re: [Discuss-gnuradio] where is gnuradio-examples/python/pfb? > >> > >> Thanks for letting us know the documentation is out of date. > >> > >> You should find filterbank examples in gr-filter/examples. > >> > >> On Tue, May 14, 2013 at 12:28 PM, LD Zhang <ldz10...@gmail.com> wrote: > >>> Hi, > >>> > >>> I am reading the polyphase filterbank documentation. It points to a > >>> directory where examples are contained: gnuradio-examples/python/pfb. > >>> In my installation I have the following directories and files: > >>> > >>> -rw-rw-r-- 1 ldz ldz 4041 Sep 18 2012 README-win32-mingw-short.txt > >>> -rw-rw-r-- 1 ldz ldz 10237 Sep 18 2012 README.hacking > >>> -rw-rw-r-- 1 ldz ldz 1695 Sep 18 2012 README.building-boost > >>> -rw-rw-r-- 1 ldz ldz 4846 Sep 18 2012 README > >>> -rw-rw-r-- 1 ldz ldz 35147 Sep 18 2012 COPYING > >>> -rw-rw-r-- 1 ldz ldz 9527 Sep 18 2012 CMakeLists.txt > >>> -rw-rw-r-- 1 ldz ldz 1155 Sep 18 2012 AUTHORS drwxrwxr-x 6 ldz > >>> ldz > >>> 4096 Sep 18 2012 cmake drwxrwxr-x 5 ldz ldz 4096 Sep 18 2012 docs > >>> drwxrwxr-x 3 ldz ldz 4096 Sep 18 2012 gnuradio-core drwxrwxr-x 3 > >>> ldz ldz 4096 Sep 18 2012 dtools drwxrwxr-x 3 ldz ldz 4096 Sep 18 > >>> 2012 gr-atsc drwxrwxr-x 3 ldz ldz 4096 Sep 18 2012 gr-comedi > >>> drwxrwxr-x 8 ldz ldz 4096 Sep 18 2012 gr-audio drwxrwxr-x 9 ldz > >>> ldz 4096 Sep 18 2012 gr-digital drwxrwxr-x 8 ldz ldz 4096 Sep 18 > >>> 2012 gr-fft drwxrwxr-x 9 ldz ldz 4096 Sep 18 2012 gr-fcd > >>> drwxrwxr-x > >>> 9 ldz ldz 4096 Sep 18 2012 gr-filter drwxrwxr-x 7 ldz ldz 4096 > >>> Sep > >>> 18 2012 gr-noaa drwxrwxr-x 10 ldz ldz 4096 Sep 18 2012 > >>> gr-howto-write-a-block drwxrwxr-x 7 ldz ldz 4096 Sep 18 2012 > >>> gr-pager drwxrwxr-x 10 ldz ldz 4096 Sep 18 2012 gr-qtgui drwxrwxr-x > >>> 5 ldz ldz 4096 Sep 18 2012 gr-trellis drwxrwxr-x 7 ldz ldz 4096 > >>> Sep 18 2012 gr-shd drwxrwxr-x 3 ldz ldz 4096 Sep 18 2012 gr-utils > >>> drwxrwxr-x 9 ldz ldz 4096 Sep 18 2012 gr-uhd drwxrwxr-x 3 ldz ldz > >>> 4096 Sep 18 2012 gr-video-sdl drwxrwxr-x 9 ldz ldz 4096 Sep 18 > >>> 2012 gr-vocoder drwxrwxr-x 6 ldz ldz 4096 Sep 18 2012 gr-wavelet > >>> drwxrwxr-x 4 ldz ldz 4096 Sep 18 2012 gr-wxgui drwxrwxr-x 3 ldz > >>> ldz 4096 Sep 18 2012 gruel drwxrwxr-x 11 ldz ldz 4096 Sep 18 2012 > >>> grc drwxrwxr-x 10 ldz ldz 4096 Sep 18 2012 volk drwxrwxr-x 27 ldz > >>> ldz 4096 Sep 18 2012 build > >>> > >>> I don't see a gnuradio-examples directory either above or below this > >> level. > >>> Other searches in other directories have yielded nothing. Is this a > >>> on-line location or a directory in the installation? > >>> > >>> Thanks, > >>> > >>> LD > >>> > >>> _______________________________________________ > >>> Discuss-gnuradio mailing list > >>> Discuss-gnuradio@gnu.org > >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >>> > >> > > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio