{ } Raw JSON

bundles / scipy latest / scipy / fft / _pocketfft / pypocketfft / good_size

built-in

scipy.fft._pocketfft.pypocketfft:good_size

Summary

Returns a good length to pad an FFT to.

Parameters

target : int

Minimum transform length

real : bool, optional

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

Returns

out : int

The smallest fast size >= n

Aliases

  • scipy.fft._pocketfft.good_size