discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] bug in digital.sd_psk_2_0x1


From: Eugene Grayver
Subject: [Discuss-gnuradio] bug in digital.sd_psk_2_0x1
Date: Wed, 30 Nov 2016 22:08:57 +0000

Hello,

I found a bug in  digital.sd_psk_2_0x1.    There should not be brackets around x_re = x.real.

Regards,
Eugene

----------------------------------------
def sd_psk_2_0x1(x, Es=1):
    '''
    1 | 0
    '''
-    x_re = [x.real,]
+    x_re =[x.real
    dist = Es*numpy.sqrt(2)
    return -dist*x_re
---------------------------------------


________________________

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________


reply via email to

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