pywt_pad_mode

odl.trafos.backends.pywt_bindings.pywt_pad_mode(pad_mode, pad_const=0)[source]

Convert ODL-style padding mode to pywt-style padding mode.

Parameters
pad_modestr

The ODL padding mode to use at the boundaries.

pad_constfloat, optional

Value to use outside the signal boundaries when pad_mode is ‘constant’. Only a value of 0. is supported by PyWavelets

Returns
pad_mode_pywtstr

The corresponding name of the requested padding mode in PyWavelets. See signal extension modes.

References