Commit 10d47d08 authored by Martin Reinecke's avatar Martin Reinecke

cosmetics

parent 2866d426
......@@ -91,4 +91,5 @@ if __name__ == '__main__':
ift.plot(reconstruction, title='reconstruction')
ift.plot(GR.adjoint_times(data), title='data')
ift.plot(sky.at(mock_position).value, title='truth')
ift.plot_finish(nx=3, xsize=16, ysize=5, title="results", name="bernoulli.png")
ift.plot_finish(nx=3, xsize=16, ysize=5, title="results",
name="bernoulli.png")
......@@ -115,4 +115,5 @@ if __name__ == '__main__':
powers = [A.at(s+position).value for s in samples]
ift.plot([A.at(position).value, A.at(MOCK_POSITION).value]+powers,
title="power")
ift.plot_finish(nx=3, xsize=16, ysize=5, title="results", name="results.png")
ift.plot_finish(nx=3, xsize=16, ysize=5, title="results",
name="results.png")
......@@ -18,7 +18,7 @@ def plot_test():
field_gl = ift.Field.from_global_data(gl_space, np.random.randn(32640))
field_ps = ift.power_analyze(fft.times(field_rg2))
## Start various plotting tests
# Start various plotting tests
ift.plot(field_rg1_1, title='Single plot')
ift.plot_finish()
......@@ -36,5 +36,6 @@ def plot_test():
ift.plot(field_rg2, title='2d rg')
ift.plot_finish(nx=2, ny=3, title='Five plots')
if __name__ == '__main__':
plot_test()
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