property sdr.PSK.phase_offset : float

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

Examples

See the Phase-shift keying example.

Create a QPSK constellation with no phase offset.

In [1]: psk = sdr.PSK(4); \
   ...: psk.phase_offset
   ...: 
Out[1]: 0.0

In [2]: plt.figure(figsize=(8, 4)); \
   ...: sdr.plot.symbol_map(psk.symbol_map);
   ...: 
../../_images/sdr_psk_phase_offset_1.png

Create a QPSK constellation with 45° phase offset.

In [3]: psk = sdr.PSK(4, phase_offset=45); \
   ...: psk.phase_offset
   ...: 
Out[3]: 45

In [4]: plt.figure(figsize=(8, 4)); \
   ...: sdr.plot.symbol_map(psk.symbol_map);
   ...: 
../../_images/sdr_psk_phase_offset_2.png