pub enum SpectrumWindow {
Rectangular,
Nuttall4,
}Expand description
Window function applied to each NSPS-sample chunk before the
coarse-sync FFT. See ModulationParams::SPECTRUM_WINDOW.
Variants§
Rectangular
No window (multiplied by 1.0). Default. Suitable for synth roundtrip and for protocols whose sync metric tolerates rectangular-window sidelobes.
Nuttall4
Nuttall-4 window (a0=0.3635819, a1=0.4891775, a2=0.1365995,
a3=0.0106411). Matches WSJT-X getcandidates4.f90/
getcandidates.f90 (FT4 / FT8 respectively in WSJT-X, though
in our port only FT4 currently opts in — FT8’s existing path
is calibrated to rectangular).
Trait Implementations§
Source§impl Clone for SpectrumWindow
impl Clone for SpectrumWindow
Source§fn clone(&self) -> SpectrumWindow
fn clone(&self) -> SpectrumWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpectrumWindow
Source§impl Debug for SpectrumWindow
impl Debug for SpectrumWindow
impl Eq for SpectrumWindow
Source§impl PartialEq for SpectrumWindow
impl PartialEq for SpectrumWindow
impl StructuralPartialEq for SpectrumWindow
Auto Trait Implementations§
impl Freeze for SpectrumWindow
impl RefUnwindSafe for SpectrumWindow
impl Send for SpectrumWindow
impl Sync for SpectrumWindow
impl Unpin for SpectrumWindow
impl UnsafeUnpin for SpectrumWindow
impl UnwindSafe for SpectrumWindow
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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