bundles / scipy latest / scipy / fft / _duccfft / pyduccfft / good_size
built-in
scipy.fft._duccfft.pyduccfft: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._duccfft.good_size