kaira.modulations.OQPSKDemodulator

Inheritance diagram for OQPSKDemodulator
- class kaira.modulations.OQPSKDemodulator(normalize: bool = True, *args, **kwargs)[source]
Bases:
BaseDemodulatorOffset Quadrature Phase-Shift Keying (OQPSK) demodulator.
Methods
Initialize the OQPSK demodulator.
Demodulate OQPSK symbols.
Reset any stateful components.
Attributes
Number of bits per symbol.
- __init__(normalize: bool = True, *args, **kwargs) None[source]
Initialize the OQPSK demodulator.
- Parameters:
normalize – If True, assume normalized constellation with unit energy
*args – Variable length argument list.
**kwargs – Arbitrary keyword arguments.
- forward(y: Tensor, noise_var: float | Tensor | None = None, *args, **kwargs) Tensor[source]
Demodulate OQPSK symbols.
- Parameters:
y – Received tensor of OQPSK symbols
noise_var – Noise variance for soft demodulation (optional)
*args – Variable length argument list.
**kwargs – Arbitrary keyword arguments.
- Returns:
If noise_var is provided, returns LLRs; otherwise, returns hard bit decisions