Skip to main content

demodulate

Function demodulate 

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

Demodulate QPSK symbols to soft-decision i16 LLRs.

Produces n_bits LLRs from n_bits/2 I/Q symbol pairs. LLRs are interleaved: even indices from I, odd from Q.