Struct p25::baseband::sync::SyncCorrelator
[−]
[src]
pub struct SyncCorrelator { /* fields omitted */ }Continuously cross-correlates input signal with frame sync fingerprint.
Methods
impl SyncCorrelator[src]
pub fn new() -> SyncCorrelator[src]
Create a new SyncCorrelator with default state.
pub fn feed(&mut self, sample: f32) -> (f32, f32)[src]
Cross-correlate with the given sample and return the current correlation power and signal power within the correlation history.
pub fn history(&self) -> [f32; 231][src]
Retrieve the sequence of samples that make up the current sync sequence.