Communication Symbols

class Symbols(symbols=None)

Bases: object

A time-series of communication symbols located somewhere on the complex plane.

Parameters

symbols (np.ndarray, optional) – Raw symbol array. The first dimension denotes the number of streams, the second dimension the number of symbols per stream.

property num_streams: int

Number of streams within this symbol series.

Returns

Number of streams.

Return type

int

property num_symbols: int

Number of symbols per stream within this symbol series.

Returns

Number of symbols

Return type

int

property raw: numpy.ndarray

Access the raw symbol array.

Returns

The raw symbol array

Return type

np.ndarray

copy()

Create a deep copy of this symbol sequence.

Returns

Copied sequence.

Return type

Symbols

plot_constellation(axes=None)

Plot the symbol constellation.

Essentially projects the time-series of symbols onto a single complex plane.

Parameters

axes (Optional[plt.axes.Axes], optional) – The axes to plot the graph to. By default, a new matplotlib figure is created.

Returns

Handle to the created matplotlib.pyplot figure object. None if the axes were provided.

Return type

Optional[plt.Figure]