Skip to content

Commit

Permalink
pass reco-params to the solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
migrosser committed Jun 4, 2020
1 parent 891e5df commit 7925e6e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Reconstruction/IterativeReconstruction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function reconstruction_multiEcho(acqData::AcquisitionData
end
solver = createLinearSolver(solvername, W*F; reg=reg2, params...)

Ireco[:,j,i] = solve(solver,kdata)
Ireco[:,j,i] = solve(solver,kdata; params...)
# TODO circular shutter
end
end
Expand Down Expand Up @@ -166,8 +166,7 @@ function reconstruction_multiCoil(acqData::AcquisitionData
end

solver = createLinearSolver(solvername, W*E[j]; reg=reg2, params...)

I = solve(solver, kdata)
I = solve(solver, kdata; params...)

if isCircular( trajectory(acqData, j) )
circularShutter!(reshape(I, reconSize), 1.0)
Expand Down Expand Up @@ -228,7 +227,7 @@ function reconstruction_multiCoilMultiEcho(acqData::AcquisitionData
end
solver = createLinearSolver(solvername, W*E; reg=reg2, params...)

Ireco[:,:,i] = solve(solver, kdata)
Ireco[:,:,i] = solve(solver, kdata; params...)
end

Ireco = reshape( permutedims(Ireco, [1,3,2]), recoParams[:reconSize]..., numSl, numContr )
Expand Down

0 comments on commit 7925e6e

Please sign in to comment.