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: intMinimum transform length
real: bool, optionalTrue if either input or output of FFT should be fully real.
Returns
out: intThe smallest fast size >= n
Aliases
-
scipy.fft._pocketfft.good_size