On Thu, Mar 05, 2009 at 05:37:00PM +0100, Dimitris Symeonidis wrote:
> Hi List,
> I was reading through the dbpsk.py block in blks2impl, and found
> something that doesn't seem to make much sense (to me).
> Lines 272-273 read:
>         rot = 1
>         rotated_const = map(lambda pt: pt * rot, psk.constellation[arity])
> Is this not equivalent to:
>         rotated_const = psk.constellation[arity]
> ??? I mean, it's just multiplying each output item of
> psk.constellation with the number 1, or am I mis-reading something?
> 
> Thanx for looking at this...

I'm guessing that it's in there because at sometime someone wanted to
rotate the constellation.  (If rot were a suitable complex value, the
multiplication by rot would rotate it.)  rot = 1 means "don't rotate"

Eric



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to