Signal processing in Python

Hi List,

well i got much further and was able to gather the signal and am
shure that it is a Miller encoding (Also known as delay encoding). So
i like to build now a parser/decoder for that protocol. As far as i
understand gnuradio, decoding blocks have to be in C C++ right? Is it
possible to write the processing block also in python?

Is there some example code around related to decoding in python?

Greetings

Max

Just a lurker here, but I’m always curious/sceptical when I hear that
function X must be programmed in language Y. Can someone confirm and
explain?

Arnie Shore

On Thu, Aug 23, 2007 at 04:20:20PM +0200, Max Moser wrote:

Hi List,

well i got much further and was able to gather the signal and am
shure that it is a Miller encoding (Also known as delay encoding). So
i like to build now a parser/decoder for that protocol. As far as i
understand gnuradio, decoding blocks have to be in C C++ right? Is it
possible to write the processing block also in python?

You’ll want to use C++.

Is there some example code around related to decoding in python?

Greetings

Max

Eric

On Thu, Aug 23, 2007 at 08:30:03AM -0500, Arnie Shore wrote:

Just a lurker here, but I’m always curious/sceptical when I hear that
function X must be programmed in language Y. Can someone confirm and
explain?

Arnie Shore

It is technically possible to write signal processing code for GNU
Radio in Python, but this is not implemented.

You’d need a C++ block that could (recursively) invoke Python. This
could be done with virtual functions and SWIG directors. I would
expect the performance to suck.

Eric

Max,

it seems like this transmission scheme can be modeled using a finite
state machine (fsm). Take a look at the gr_trellis section of gnuradio.
There you can find an abstract class to define fsm’s and to
encode/decode their inputs/outputs.

Achilleas

Max Moser wrote:

Because i know that it is generated by a Texas Instrumets Chip and
Ok for the sake of clarity i attached two pages of the reference

Achilleas


Achilleas A.
Associate Professor
EECS Department Voice : (734)615-4024
UNIVERSITY OF MICHIGAN Fax : (734)763-8041
Ann Arbor, MI 48109-2122 E-mail: [email protected]
URL: http://www.eecs.umich.edu/~anastas/