pub struct SparseFFTConfig {Show 13 fields
pub estimation_method: SparsityEstimationMethod,
pub sparsity: usize,
pub algorithm: SparseFFTAlgorithm,
pub threshold: f64,
pub iterations: usize,
pub seed: Option<u64>,
pub max_signal_size: usize,
pub adaptivity_factor: f64,
pub pruning_sensitivity: f64,
pub flatness_threshold: f64,
pub window_size: usize,
pub window_function: WindowFunction,
pub kaiser_beta: f64,
}Expand description
Sparse FFT configuration
Fields§
§estimation_method: SparsityEstimationMethodThe sparsity estimation method
sparsity: usizeExpected sparsity (k) - number of significant frequency components
algorithm: SparseFFTAlgorithmAlgorithm variant to use
threshold: f64Threshold for frequency coefficient significance (when using threshold method)
iterations: usizeNumber of iterations for iterative methods
seed: Option<u64>Random seed for probabilistic algorithms
max_signal_size: usizeMaximum signal size to process (to prevent test timeouts)
adaptivity_factor: f64Adaptivity parameter (controls how aggressive adaptivity is)
pruning_sensitivity: f64Pruning parameter (controls sensitivity of frequency pruning)
flatness_threshold: f64Spectral flatness threshold (0-1, lower values = more selective)
window_size: usizeAnalysis window size for spectral flatness calculations
window_function: WindowFunctionWindow function to apply before FFT
kaiser_beta: f64Kaiser window beta parameter (when using Kaiser window)
Trait Implementations§
Source§impl Clone for SparseFFTConfig
impl Clone for SparseFFTConfig
Source§fn clone(&self) -> SparseFFTConfig
fn clone(&self) -> SparseFFTConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SparseFFTConfig
impl Debug for SparseFFTConfig
Auto Trait Implementations§
impl Freeze for SparseFFTConfig
impl RefUnwindSafe for SparseFFTConfig
impl Send for SparseFFTConfig
impl Sync for SparseFFTConfig
impl Unpin for SparseFFTConfig
impl UnwindSafe for SparseFFTConfig
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