pub struct SyncDims {}Expand description
Static-per-protocol parameters used throughout sync. Derived from the
Protocol trait; inlined by the compiler.
Fields§
§nfft1: usizePer-symbol FFT length (= NSPS · NFFT_PER_SYMBOL_FACTOR).
nstep: usizeCoarse-sync time-step in samples (= NSPS / NSTEP_PER_SYMBOL).
nsps: usizeSamples per symbol at 12 kHz.
nssy: usizeSteps per symbol (= NSTEP_PER_SYMBOL).
nfos: usizeFrequency oversampling factor (= NFFT_PER_SYMBOL_FACTOR).
nmax: usizeSlot length in samples at 12 kHz.
nhsym: usizeTime-spectra column count = NMAX / NSTEP - 3.
nh1: usizePositive-frequency bins NFFT1 / 2.
df: f32Frequency resolution (Hz/bin) = 12_000 / NFFT1.
tstep: f32Time step (s) between coarse-sync columns.
jstrt: i32Symbol offset (in NSTEP steps) of the nominal frame start. = round(TX_START_OFFSET_S / tstep).
jz: i32Max search lag in NSTEP steps (±2.5 s by convention).
ds_spb: usizeDownsampled samples per symbol (= NSPS / NDOWN).
ds_rate: f32Downsampled sample rate (Hz) = 12_000 / NDOWN.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncDims
impl RefUnwindSafe for SyncDims
impl Send for SyncDims
impl Sync for SyncDims
impl Unpin for SyncDims
impl UnsafeUnpin for SyncDims
impl UnwindSafe for SyncDims
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more