Skip to content

Commit

Permalink
Fixed L1WaveletRecon L1Reg shape.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankong committed Aug 22, 2018
1 parent fdbfe23 commit 9c04744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sigpy/mri/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __init__(self, ksp, mps, lamda,
self.img = sp.util.zeros(mps.shape[1:], dtype=ksp.dtype, device=device)

W = sp.linop.Wavelet(A.ishape, wave_name=wave_name)
proxg = sp.prox.UnitaryTransform(sp.prox.L1Reg(A.ishape, lamda), W)
proxg = sp.prox.UnitaryTransform(sp.prox.L1Reg(W.oshape, lamda), W)

def g(input):
device = sp.util.get_device(input)
Expand Down Expand Up @@ -195,7 +195,7 @@ def __init__(
A = linop.Sense(mps, coord=coord)
self.img = sp.util.zeros(mps.shape[1:], dtype=ksp.dtype, device=device)
W = sp.linop.Wavelet(A.ishape, wave_name=wave_name)
proxg = sp.prox.UnitaryTransform(sp.prox.L1Reg(A.ishape, 1), W)
proxg = sp.prox.UnitaryTransform(sp.prox.L1Reg(W.oshape, 1), W)

super().__init__(A, ksp, self.img, proxg, eps, weights=weights, **kwargs)

Expand Down

0 comments on commit 9c04744

Please sign in to comment.