discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to find the python description of gr.*


From: Milo Wong
Subject: Re: [Discuss-gnuradio] How to find the python description of gr.*
Date: Fri, 14 Aug 2009 11:23:10 -0700

I see that. Thank you, Eric!

Milo


On Fri, Aug 14, 2009 at 10:57 AM, Eric Blossom <address@hidden> wrote:
On Thu, Aug 13, 2009 at 01:24:04PM -0700, Milo Wong wrote:
> Hi,
>
> I have read Eric's "howto-write-a-signal-processing-block", but I still got
> a question. Is there anyway I could find the python description of gr.*
> modules(or functions). I browsed both "gnuradio-core/src/python/gnuradio/gr"
> and "python2.6/dist-packages/gnuradio/gr", but I found nothing but several
> swig generated files.
>
> In howto_square_ff example, the command "import howto" imports SWIG
> generated "howto.py" module and applies "howto.square_ff" block. But in
> "tx_voive.py" example, how could I find the description of "gr.message_sink"
> or "gr.msg_queue" in python? It seems there's not such a file called
> "gr.py". I think "gr.*" are also generated by SWIG from their C++ Class, but
> I simply can't find them. Appreciate your help.
>
> Thank you!
>
> Milo


Milo,

A large part of what shows up in Python are C++ classes that have been
interfaced to Python using SWIG to generate the glue code.

For things like gr.msg_queue, look in the C++ documentation for gr_msg_queue.

Go here (or build the docs in your own directory):

 http://gnuradio.org/doc/doxygen/index.html

Then click on Class List in the left hand column.
Then click on gr_msg_queue.


Eric


reply via email to

[Prev in Thread] Current Thread [Next in Thread]