@@ -255,10 +255,11 @@ ppr = plot(
255255 widen = true,
256256)
257257plot!(ppr, 0:niter, out0,
258- label = "Non-preconditioned, 0 init", color = :red, marker = :circle,
258+ label = "LS-CG (' non- preconditioned' ), 0 init",
259+ color = :black, marker = :circle,
259260);
260261
261- # "Preconditioned" version
262+ # "Preconditioned" (aka "weighted") version
262263precon = vec(repeat(dcf, Nϕ));
263264
264265# gradient of fp(u) = 1/2 ‖ P^{1/2} (u - y) ‖²
@@ -267,15 +268,15 @@ curvfp = u -> precon # curvature of fp(u)
267268
268269xlsp, out2 = ncg([A], [gradfp], [curvfp], x0; niter, fun)
269270plot!(ppr, 0:niter, out2,
270- label = "DCF preconditioned , 0 init", color = :blue , marker = :x,
271+ label = "WLS-CG with DCF weighting , 0 init", color = :red , marker = :x,
271272)
272273#src savefig(ppr, "precon0.pdf")
273274
274275# Smart start with gridded image
275276x0 = gridded4 # initial guess: decent gridding reconstruction
276277xls1, out1 = ncg([A], [gradf], [curvf], x0; niter, fun)
277278plot!(ppr, 0:niter, out1,
278- label = "Non-preconditioned , gridding init", color=:green , marker=:+,
279+ label = "LS-CG , gridding init", color=:blue , marker=:+,
279280)
280281
281282#src savefig(ppr, "precon1.pdf")
0 commit comments