Skip to content

Commit 067b218

Browse files
committed
fix examples.
1 parent 0857445 commit 067b218

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ptwt/matmul_transform_2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class MatrixWavedec2(object):
213213
>>> import scipy.misc
214214
>>> face = scipy.misc.face()[:256, :256, :].astype(np.float32)
215215
>>> pt_face = torch.tensor(face).permute([2, 0, 1])
216-
>>> matrixfwt = ptwt.MatrixWavedec2d(pywt.Wavelet("haar"), level=2)
216+
>>> matrixfwt = ptwt.MatrixWavedec2(pywt.Wavelet("haar"), level=2)
217217
>>> mat_coeff = matrixfwt(pt_face)
218218
219219
"""
@@ -506,7 +506,7 @@ class MatrixWaverec2(object):
506506
>>> import scipy.misc
507507
>>> face = scipy.misc.face()[:256, :256, :].astype(np.float32)
508508
>>> pt_face = torch.tensor(face).permute([2, 0, 1])
509-
>>> matrixfwt = ptwt.MatrixWavedec2d(pywt.Wavelet("haar"), level=2)
509+
>>> matrixfwt = ptwt.MatrixWavedec2(pywt.Wavelet("haar"), level=2)
510510
>>> mat_coeff = matrixfwt(pt_face)
511511
>>> matrixifwt = ptwt.MatrixWaverec2(pywt.Wavelet("haar"))
512512
>>> reconstruction = matrixifwt(mat_coeff)
@@ -709,7 +709,7 @@ def __call__(
709709
710710
Args:
711711
coefficients (list): The coefficient list as returned
712-
by the `MatrixWavedec2d`-Object.
712+
by the `MatrixWavedec2`-Object.
713713
714714
Returns:
715715
torch.Tensor: The original signal reconstruction of

0 commit comments

Comments
 (0)