File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def __init__(self, m):
113113 self .m = m
114114 self .num_bits_symbol = int (log2 (self .m ))
115115 self .symbol_mapping = arange (self .m )
116- self .constellation = array (map (self ._constellation_symbol ,
116+ self .constellation = list (map (self ._constellation_symbol ,
117117 self .symbol_mapping ))
118118
119119class QAMModem (Modem ):
@@ -136,7 +136,7 @@ def __init__(self, m):
136136 self .num_bits_symbol = int (log2 (self .m ))
137137 self .symbol_mapping = arange (self .m )
138138 mapping_array = arange (1 , sqrt (self .m )+ 1 ) - (sqrt (self .m )/ 2 )
139- self .constellation = array (map (self ._constellation_symbol ,
139+ self .constellation = list (map (self ._constellation_symbol ,
140140 list (product (mapping_array , repeat = 2 ))))
141141
142142def ofdm_tx (x , nfft , nsc , cp_length ):
You can’t perform that action at this time.
0 commit comments