pub enum SweepMode {
Linear,
Interleaved,
}Expand description
A chosen sweep mode.
While linear mode is the easiest to understand, the interleaved mode can make it easy to discard the portion of the spectrum with the DC mixing spur.
Variants§
Linear
step_width is added to the current frequency at each step.
Interleaved
Each step is divided into two interleaved sub-steps, allowing the host to select the best portions of the FFT of each sub-step and discard the rest. The first step adds 1/4 of the step size, and the second step adds the remaining 3/4 of the step size. This makes it relatively easy to discard the center of the band, where mixer IQ imbalance can create a spike in the FFT.
Trait Implementations§
impl Copy for SweepMode
impl Eq for SweepMode
impl StructuralPartialEq for SweepMode
Auto Trait Implementations§
impl Freeze for SweepMode
impl RefUnwindSafe for SweepMode
impl Send for SweepMode
impl Sync for SweepMode
impl Unpin for SweepMode
impl UnwindSafe for SweepMode
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