Struct p25::baseband::sync::SymbolThresholds
[−]
[src]
pub struct SymbolThresholds { /* fields omitted */ }
Computes symbol decision thresholds from sync sequences.
Methods
impl SymbolThresholds
[src]
pub fn new() -> Self
[src]
Create a new SymbolThresholds
with default state.
pub fn thresholds(&mut self, sync: &[f32; 231]) -> (f32, f32, f32)
[src]
Calculate (upper, mid, lower)
thresholds for symbol decoding from the given sync
fingerprint samples.
The first sample should be the sample immediately after the first symbol impulse in the fingerprint, and the last sample should be the sample immediately after the final symbol impulse.