Skip to content

modulaiton.py PSKModem constellation not using numpy array #28

@elysoto

Description

@elysoto

self.constellation = map(self._constellation_symbol,
self.symbol_mapping)

in the constructor, should be

self.constellation = array(map(self._constellation_symbol,
self.symbol_mapping))

similar to what QAMModem is doing.

Otherwise, this type error occurs.
TypeError: list indices must be integers, not list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions