discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] rrc_filter output from dbpsk.py file


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] rrc_filter output from dbpsk.py file
Date: Wed, 21 Jan 2009 10:47:08 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jan 16, 2009 at 07:18:10PM -0600, Maduike, Dumezie wrote:
> Hello all,

> I was analyzing the dbpsk.py file and I was wondering if someone can
> explain the line:

> self.connect(self, self.pre_scaler, self.agc, self.rrc_filter,
>              self.receiver, self.diffdec, self.slicer,
>              self.symbol_mapper, self.unpack, self)

> The "self" term loops back to itself and I wasn't quite sure why this is so.

"self" is a hierarchical block.  connect wires the input of the
block through the other blocks and finally to the output of the
hierarchical block.

> Also, does anyone know a way to display the output of the
> "self.rrc_filter" block.  I want to be able to either store this to
> a file or spit it out to the screen.

Use a file sink.

  self.connect(self.rrc_filter, gr.file_sink(gr.sizeof_complex, "rrc.dat"))

Eric




reply via email to

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