We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd998b0 + e0bbf32 commit 4488c19Copy full SHA for 4488c19
.gitignore
@@ -5,4 +5,6 @@
5
6
/doc/_build
7
/doc/generated
8
-
+/build
9
+/dist
10
+/scikit_commpy.egg-info
commpy/modulation.py
@@ -112,8 +112,8 @@ def __init__(self, m):
112
self.m = m
113
self.num_bits_symbol = int(log2(self.m))
114
self.symbol_mapping = arange(self.m)
115
- self.constellation = map(self._constellation_symbol,
116
- self.symbol_mapping)
+ self.constellation = array(map(self._constellation_symbol,
+ self.symbol_mapping))
117
118
class QAMModem(Modem):
119
""" Creates a Quadrature Amplitude Modulation (QAM) Modem object."""
0 commit comments