Commit 2ea5817e authored by Jakob Knollmueller's avatar Jakob Knollmueller

add plotting to demo

parent b760b9dd
......@@ -68,5 +68,8 @@ if __name__ == '__main__':
# minimizer = ift.SteepestDescent(ic_newton)
H, convergence = minimizer(H)
# result_sky = sky.at(H.position).value
# ift.plot(result_sky)
reconstruction = sky.at(H.position).value
ift.plot(reconstruction, title='reconstruction', name='reconstruction.pdf')
ift.plot(GR.adjoint_times(data), title='data', name='data.pdf')
ift.plot(sky.at(mock_position).value, title='truth', name='truth.pdf')
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