Re: [Discuss-gnuradio] blks2impl/dbpsk.py question

2009-03-06 Thread Stefan BrĂ¼ns
On Thursday 05 March 2009 19:12:15 Eric Blossom wrote: > 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: > >

Re: [Discuss-gnuradio] blks2impl/dbpsk.py question

2009-03-05 Thread Eric Blossom
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

[Discuss-gnuradio] blks2impl/dbpsk.py question

2009-03-05 Thread Dimitris Symeonidis
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.con