Struct p25::baseband::decode::Decider
[−]
[src]
pub struct Decider { /* fields omitted */ }
Decides which symbol a sample represents with a threshold method.
Methods
impl Decider
[src]
pub fn new(pthresh: f32, mthresh: f32, nthresh: f32) -> Decider
[src]
Create a new Decider with the given positive threshold, mid threshold, and negative threshold.
pub fn decide(&self, sample: f32) -> Dibit
[src]
Decide which symbol the given sample looks closest to.