summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/psk_constellations.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-08-17 12:26:24 -0400
committerTom Rondeau <tom@trondeau.com>2015-08-17 12:26:24 -0400
commitdff90672879bf1ed9d3e083ba236fdd6ce29e168 (patch)
tree7b066b9aa14af2758a515d6a4c3c2ea137cf2a24 /gr-digital/python/digital/psk_constellations.py
parent22e2f1aed8afdfccce3884cf6bf3140c2b8e3f53 (diff)
whitespace fixes and some minor adjustments for building the Python
manual.
Diffstat (limited to 'gr-digital/python/digital/psk_constellations.py')
-rwxr-xr-xgr-digital/python/digital/psk_constellations.py96
1 files changed, 48 insertions, 48 deletions
diff --git a/gr-digital/python/digital/psk_constellations.py b/gr-digital/python/digital/psk_constellations.py
index 3f28ca5843..d2db4e848b 100755
--- a/gr-digital/python/digital/psk_constellations.py
+++ b/gr-digital/python/digital/psk_constellations.py
@@ -114,9 +114,9 @@ sd_psk_2_1 = sd_psk_2_0x1
def psk_4_0x0_0_1():
'''
- 10 | 11
- -------
- 00 | 01
+ | 10 | 11
+ | -------
+ | 00 | 01
'''
const_points = [-1-1j, 1-1j,
-1+1j, 1+1j]
@@ -127,9 +127,9 @@ psk_4_0 = psk_4
def psk_4_0x1_0_1():
'''
- 11 | 10
- -------
- 01 | 00
+ | 11 | 10
+ | -------
+ | 01 | 00
'''
k = 0x1
pi = [0, 1]
@@ -138,9 +138,9 @@ psk_4_1 = psk_4_0x1_0_1
def psk_4_0x2_0_1():
'''
- 00 | 01
- -------
- 10 | 11
+ | 00 | 01
+ | -------
+ | 10 | 11
'''
k = 0x2
pi = [0, 1]
@@ -149,9 +149,9 @@ psk_4_2 = psk_4_0x2_0_1
def psk_4_0x3_0_1():
'''
- 01 | 00
- -------
- 11 | 10
+ | 01 | 00
+ | -------
+ | 11 | 10
'''
k = 0x3
pi = [0, 1]
@@ -160,9 +160,9 @@ psk_4_3 = psk_4_0x3_0_1
def psk_4_0x0_1_0():
'''
- 01 | 11
- -------
- 00 | 10
+ | 01 | 11
+ | -------
+ | 00 | 10
'''
k = 0x0
pi = [1, 0]
@@ -171,9 +171,9 @@ psk_4_4 = psk_4_0x0_1_0
def psk_4_0x1_1_0():
'''
- 00 | 10
- -------
- 01 | 11
+ | 00 | 10
+ | -------
+ | 01 | 11
'''
k = 0x1
pi = [1, 0]
@@ -182,9 +182,9 @@ psk_4_5 = psk_4_0x1_1_0
def psk_4_0x2_1_0():
'''
- 11 | 01
- -------
- 10 | 00
+ | 11 | 01
+ | -------
+ | 10 | 00
'''
k = 0x2
pi = [1, 0]
@@ -193,9 +193,9 @@ psk_4_6 = psk_4_0x2_1_0
def psk_4_0x3_1_0():
'''
- 10 | 00
- -------
- 11 | 01
+ | 10 | 00
+ | -------
+ | 11 | 01
'''
k = 0x3
pi = [1, 0]
@@ -210,9 +210,9 @@ psk_4_7 = psk_4_0x3_1_0
def sd_psk_4_0x0_0_1(x, Es=1):
'''
- 10 | 11
- -------
- 00 | 01
+ | 10 | 11
+ | -------
+ | 00 | 01
'''
x_re = x.real
x_im = x.imag
@@ -223,9 +223,9 @@ sd_psk_4_0 = sd_psk_4
def sd_psk_4_0x1_0_1(x, Es=1):
'''
- 11 | 10
- -------
- 01 | 00
+ | 11 | 10
+ | -------
+ | 01 | 00
'''
x_re = x.real
x_im = x.imag
@@ -235,9 +235,9 @@ sd_psk_4_1 = sd_psk_4_0x1_0_1
def sd_psk_4_0x2_0_1(x, Es=1):
'''
- 00 | 01
- -------
- 10 | 11
+ | 00 | 01
+ | -------
+ | 10 | 11
'''
x_re = x.real
x_im = x.imag
@@ -247,9 +247,9 @@ sd_psk_4_2 = sd_psk_4_0x2_0_1
def sd_psk_4_0x3_0_1(x, Es=1):
'''
- 01 | 00
- -------
- 11 | 10
+ | 01 | 00
+ | -------
+ | 11 | 10
'''
x_re = x.real
x_im = x.imag
@@ -259,9 +259,9 @@ sd_psk_4_3 = sd_psk_4_0x3_0_1
def sd_psk_4_0x0_1_0(x, Es=1):
'''
- 01 | 11
- -------
- 00 | 10
+ | 01 | 11
+ | -------
+ | 00 | 10
'''
x_re = x.real
x_im = x.imag
@@ -271,9 +271,9 @@ sd_psk_4_4 = sd_psk_4_0x0_1_0
def sd_psk_4_0x1_1_0(x, Es=1):
'''
- 00 | 10
- -------
- 01 | 11
+ | 00 | 10
+ | -------
+ | 01 | 11
'''
x_re = x.real
x_im = x.imag
@@ -284,9 +284,9 @@ sd_psk_4_5 = sd_psk_4_0x1_1_0
def sd_psk_4_0x2_1_0(x, Es=1):
'''
- 11 | 01
- -------
- 10 | 00
+ | 11 | 01
+ | -------
+ | 10 | 00
'''
x_re = x.real
x_im = x.imag
@@ -296,9 +296,9 @@ sd_psk_4_6 = sd_psk_4_0x2_1_0
def sd_psk_4_0x3_1_0(x, Es=1):
'''
- 10 | 00
- -------
- 11 | 01
+ | 10 | 00
+ | -------
+ | 11 | 01
'''
x_re = x.real
x_im = x.imag