{ } Raw JSON

bundles / scipy latest / scipy / signal / _signaltools / _np_conv_ok

function

scipy.signal._signaltools:_np_conv_ok

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

Signature

def   _np_conv_ok ( volume kernel mode xp )

Summary

See if numpy supports convolution of volume and kernel (i.e. both are 1D ndarrays and of the appropriate shape). NumPy's 'same' mode uses the size of the larger input, while SciPy's uses the size of the first input.

Extended Summary

Invalid mode strings will return False and be caught by the calling func.

Aliases

  • scipy.signal._signaltools._np_conv_ok