def METHOD_NAME(self, x: NDArray) -> NDArray:
    x = np.reshape(x, self.dimsd)
    x = pywt.array_to_coeffs(x, self.sl, output_format="wavedec2")
    y = pywt.waverec2(
        x, wavelet=self.waveletadj, mode="periodization", axes=self.axes
    )
    y = self.pad.rmatvec(y.ravel())
    return y