This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / 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 : 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._duccfft.good_size