{ } Raw JSON

bundles / scipy 1.17.1 / scipy / fft / _pocketfft / pypocketfft / prev_good_size

built-in

scipy.fft._pocketfft.pypocketfft:prev_good_size

Summary

Returns the largest FFT length less than target length.

Parameters

target : int

Maximum transform length

real : bool, optional

True if either input or output of FFT should be fully real.

Returns

out : int

The largest fast length <= n

Aliases

  • scipy.fft._pocketfft.prev_good_size