sdr.PSK(order: int, phase_offset: float = 0.0, symbol_labels: 'bin' | 'gray' | ArrayLike = 'gray')

Creates a new PSK object.

Parameters:
order: int

The modulation order \(M = 2^k\), where \(k \ge 1\) is the bits per symbol.

phase_offset: float = 0.0

The phase offset \(\phi\) in degrees.

symbol_labels: 'bin' | 'gray' | ArrayLike = 'gray'

The decimal symbol labels of consecutive complex symbols.

  • "bin": The symbols are binary-coded. Adjacent symbols may differ by more than one bit.

  • "gray": The symbols are Gray-coded. Adjacent symbols only differ by one bit.

  • npt.ArrayLike: An \(M\)-length array whose indices are the default symbol labels and whose values are the new symbol labels. The default symbol labels are \(0\) to \(M-1\) for phases starting at \(1 + 0j\) and going counter-clockwise around the unit circle.