Skip to main content

Demodulator

Trait Demodulator 

Source
pub trait Demodulator {
    // Required method
    fn demodulate_soft(&self, symbols: &[f32], n_bits: usize, llr: &mut [i16]);
}
Expand description

Converts received symbols to soft-decision LLRs for the decoder.

Required Methods§

Source

fn demodulate_soft(&self, symbols: &[f32], n_bits: usize, llr: &mut [i16])

Demodulates symbols into n_bits soft-decision i16 LLRs.

Positive LLR → probably bit 0, negative → probably bit 1. Symbol layout matches the corresponding Modulator.

Implementors§