pub fn spectral_flatness_batch_sparse_fft<T>(
signals: &[Vec<T>],
flatness_threshold: f64,
window_size: usize,
window_function: Option<WindowFunction>,
device_id: Option<i32>,
batchconfig: Option<BatchConfig>,
) -> FFTResult<Vec<SparseFFTResult>>
Expand description
Optimized batch processing for spectral flatness sparse FFT
This function is specialized for the spectral flatness algorithm, which can benefit from batch processing due to its signal analysis requirements.
§Arguments
signals
- List of input signalsflatness_threshold
- Threshold for spectral flatness (0-1, lower = more selective)window_size
- Size of windows for local flatness analysiswindow_function
- Window function to apply before FFTdevice_id
- GPU device ID (-1 for auto-select)batchconfig
- Batch processing configuration
§Returns
- Vector of sparse FFT results, one for each input signal