Modulation¶
Classes¶
- class sdr.PSK
Implements phase-shift keying (PSK) modulation and demodulation.
Pulse shaping¶
- sdr.raised_cosine(alpha: float, span: int, sps: int) ndarray
Returns a raised cosine (RC) pulse shape.
- sdr.root_raised_cosine(alpha: float, span: int, sps: int) ndarray
Returns a square root raised cosine (SRRC) pulse shape.
Symbol mapping¶
- sdr.binary_code(n: int) ndarray
Generates a binary code of length \(2^n\).
Symbol encoding¶
-
sdr.diff_decode(y: ArrayLike, y_prev: int =
0
) ndarray Differentially decodes the input data \(y[k]\).
-
sdr.diff_encode(x: ArrayLike, y_prev: int =
0
) ndarray Differentially encodes the input data \(x[k]\).
Last update:
Jul 27, 2023