Skip to main content

fft_async

Function fft_async 

Source
pub fn fft_async<'py>(
    py: Python<'py>,
    data: &Bound<'_, PyArray1<f64>>,
) -> PyResult<Bound<'py, PyAny>>
Expand description

Async FFT operation for large arrays

This function runs FFT in a background thread and returns a Python awaitable. Useful for large arrays (>100k elements) to avoid blocking the event loop.