pywt denoising only works on even dimensions, and will return an array of different dimensions to the input if the input has odd dimensions. This PR implements padding of the odd dimension and has the function then return the unpadded denoised array.
pywt denoising only works on even dimensions, and will return an array of different dimensions to the input if the input has odd dimensions. This PR implements padding of the odd dimension and has the function then return the unpadded denoised array.