[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] bug in digital.sd_psk_2_0x1
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] bug in digital.sd_psk_2_0x1 |
Date: |
Wed, 30 Nov 2016 14:11:47 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Can you submit a pull request please?
Cheers,
M
On 11/30/2016 02:08 PM, Eugene Grayver wrote:
> 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
> ________________________
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>