sdr.PSK.demodulate(x_hat: ArrayLike) ndarray

Demodulates the complex symbols \(\hat{x}[k]\) to decimal symbols \(\hat{s}[k]\) using maximum-likelihood estimation.

Parameters:
x_hat: ArrayLike

The complex symbols \(\hat{x}[k]\) to demodulate.

Returns:

The decimal symbols \(\hat{s}[k]\), \(0\) to \(M-1\).