bundles / scipy latest / scipy / signal / _signaltools / _calc_oa_lens
function
scipy.signal._signaltools:_calc_oa_lens
Signature
def _calc_oa_lens ( s1 , s2 ) Summary
Calculate the optimal FFT lengths for overlap-add convolution.
Extended Summary
The calculation is done for a single dimension.
Parameters
s1: intSize of the dimension for the first array.
s2: intSize of the dimension for the second array.
Returns
block_size: intThe size of the FFT blocks.
overlap: intThe amount of overlap between two blocks.
in1_step: intThe size of each step for the first array.
in2_step: intThe size of each step for the first array.
Aliases
-
scipy.signal._signaltools._calc_oa_lens