mehta-lab / waveorder

Wave optical models and inverse algorithms for label-agnostic imaging of density & orientation.
BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

Denoise padding #31

Closed camFoltz closed 3 years ago

camFoltz commented 3 years ago

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.