batch_sparse_fft

Function batch_sparse_fft 

Source
pub fn batch_sparse_fft<T>(
    signals: &[Vec<T>],
    k: usize,
    algorithm: Option<SparseFFTAlgorithm>,
    window_function: Option<WindowFunction>,
    batchconfig: Option<BatchConfig>,
) -> FFTResult<Vec<SparseFFTResult>>
where T: NumCast + Copy + Debug + Sync + 'static,
Expand description

Perform batch sparse FFT on CPU

Process multiple signals in a batch for better performance.

§Arguments

  • signals - List of input signals
  • k - Expected sparsity (number of significant frequency components)
  • algorithm - Sparse FFT algorithm variant
  • window_function - Window function to apply before FFT
  • batchconfig - Batch processing configuration

§Returns

  • Vector of sparse FFT results, one for each input signal