{ } Raw JSON

bundles / scipy 1.18.0 / 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