pub struct PassbandDiagnostics {Show 17 fields
pub enough_samples: bool,
pub sync_off: usize,
pub cfo_hz: f32,
pub sync_rms: f32,
pub sync_peak: f32,
pub post_rms: f32,
pub post_peak: f32,
pub train_rms: f32,
pub hest_mag_min: f32,
pub hest_mag_mean: f32,
pub hest_mag_max: f32,
pub train_recon_evm: f32,
pub pilot_residual_evm: f32,
pub pilot_post_evm: f32,
pub post_eq_evm: f32,
pub decoded: bool,
pub decoded_payload_len: Option<usize>,
}Expand description
Summary diagnostics for one decoded passband packet window.
Rationale:
- This is the compact debug summary used by the CLI to decide whether a run failed because of timing, CFO, channel estimation, or payload demodulation.
Fields§
§enough_samples: boolWhether the packet window contained enough samples for sync, training, and at least one OFDM data symbol.
sync_off: usizeChosen sync offset, in baseband samples, relative to the start of the post-wake/post-guard window.
cfo_hz: f32Coarse carrier-frequency offset estimate in hertz.
sync_rms: f32RMS magnitude over the repeated-half sync region.
sync_peak: f32Peak magnitude over the repeated-half sync region.
post_rms: f32RMS magnitude over the post-sync OFDM payload region.
post_peak: f32Peak magnitude over the post-sync OFDM payload region.
train_rms: f32RMS magnitude over the training symbol after CP removal.
hest_mag_min: f32Minimum channel-estimate magnitude observed across used bins.
hest_mag_mean: f32Mean channel-estimate magnitude observed across used bins.
hest_mag_max: f32Maximum channel-estimate magnitude observed across used bins.
train_recon_evm: f32Training-symbol reconstruction EVM after equalization.
pilot_residual_evm: f32Residual pilot EVM before the final pilot-based cleanup.
pilot_post_evm: f32Pilot EVM after the final pilot-based cleanup.
post_eq_evm: f32Decision-directed EVM over data carriers after equalization.
decoded: boolWhether the packet parser accepted the decoded packet.
decoded_payload_len: Option<usize>Decoded payload length when parsing succeeded.
Trait Implementations§
Source§impl Clone for PassbandDiagnostics
impl Clone for PassbandDiagnostics
Source§fn clone(&self) -> PassbandDiagnostics
fn clone(&self) -> PassbandDiagnostics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more