This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / fft / _duccfft / pyduccfft / prev_good_size

built-in

scipy.fft._duccfft.pyduccfft:prev_good_size

Summary

Returns the largest FFT length less than target length.

Parameters

target : int

Maximum transform length

real : bool, optional

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

Returns

out : int

The largest fast length <= n

Aliases

  • scipy.fft._duccfft.prev_good_size