Skip to main content

demodulate_oqpsk

Function demodulate_oqpsk 

Source
pub fn demodulate_oqpsk(
    symbols_i: &[f32],
    symbols_q: &[f32],
    n_bits: usize,
    noise_var: f32,
    scale: f32,
    llr: &mut [i16],
)
Expand description

Demodulates OQPSK symbols to soft-decision i16 LLRs.

Re-aligns the staggered I/Q channels by sampling I at even indices and Q at odd indices, then computes LLRs as for QPSK.

Produces n_bits LLRs: even indices from I, odd from Q.