Commit ff2eaec7 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cosmetics

parent c3bcd006
Pipeline #23253 passed with stage
in 4 minutes and 43 seconds
......@@ -57,7 +57,8 @@ if __name__ == "__main__":
IC = ift.GradientNormController(verbose=True, iteration_limit=500,
tol_abs_gradnorm=0.1)
inverter = ift.ConjugateGradient(controller=IC)
D = (R.adjoint*N.inverse*R + fft.adjoint*Sh.inverse*fft).inverse
S_inv = fft.adjoint*Sh.inverse*fft
D = (R.adjoint*N.inverse*R + S_inv).inverse
# MR FIXME: we can/should provide a preconditioner here as well!
D = ift.InversionEnabler(D, inverter)
m = D(j)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment