{ } Raw JSON

bundles / scipy 1.17.1 / scipy / signal / _signaltools / _calc_oa_lens

function

scipy.signal._signaltools:_calc_oa_lens

source: /scipy/signal/_signaltools.py :711

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 : int

Size of the dimension for the first array.

s2 : int

Size of the dimension for the second array.

Returns

block_size : int

The size of the FFT blocks.

overlap : int

The amount of overlap between two blocks.

in1_step : int

The size of each step for the first array.

in2_step : int

The size of each step for the first array.

Aliases

  • scipy.signal._signaltools._calc_oa_lens