You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matlab provides a function called wextend for padding a signal via the various boundary modes. In PyWavelets, the signal is not explicitly extended, but for efficiency the boundary modes are handled in the C convolution code.
However, I already implemented a function that replicates the behavior of wextend in 1D for the purpose of making a nice figure of the various boundary modes for the documentation.
Updating the existing, non-public pywt._doc_utils.pad function to be n-dimensional andexposing it under the name pywt.wextend should be fairly straightforward.
I'm not sure how common use of wextend would be, but I did notice that the implementation of wavelet adjoints linked in #472 makes use of it.
The text was updated successfully, but these errors were encountered:
Matlab provides a function called
wextend
for padding a signal via the various boundary modes. In PyWavelets, the signal is not explicitly extended, but for efficiency the boundary modes are handled in the C convolution code.However, I already implemented a function that replicates the behavior of
wextend
in 1D for the purpose of making a nice figure of the various boundary modes for the documentation.Updating the existing, non-public
pywt._doc_utils.pad
function to be n-dimensional andexposing it under the namepywt.wextend
should be fairly straightforward.I'm not sure how common use of
wextend
would be, but I did notice that the implementation of wavelet adjoints linked in #472 makes use of it.The text was updated successfully, but these errors were encountered: