Skip to content
Snippets Groups Projects
Commit 10d47d08 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cosmetics

parent 2866d426
No related branches found
No related tags found
No related merge requests found
...@@ -91,4 +91,5 @@ if __name__ == '__main__': ...@@ -91,4 +91,5 @@ if __name__ == '__main__':
ift.plot(reconstruction, title='reconstruction') ift.plot(reconstruction, title='reconstruction')
ift.plot(GR.adjoint_times(data), title='data') ift.plot(GR.adjoint_times(data), title='data')
ift.plot(sky.at(mock_position).value, title='truth') 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__': ...@@ -115,4 +115,5 @@ if __name__ == '__main__':
powers = [A.at(s+position).value for s in samples] powers = [A.at(s+position).value for s in samples]
ift.plot([A.at(position).value, A.at(MOCK_POSITION).value]+powers, ift.plot([A.at(position).value, A.at(MOCK_POSITION).value]+powers,
title="power") 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(): ...@@ -18,7 +18,7 @@ def plot_test():
field_gl = ift.Field.from_global_data(gl_space, np.random.randn(32640)) field_gl = ift.Field.from_global_data(gl_space, np.random.randn(32640))
field_ps = ift.power_analyze(fft.times(field_rg2)) 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(field_rg1_1, title='Single plot')
ift.plot_finish() ift.plot_finish()
...@@ -36,5 +36,6 @@ def plot_test(): ...@@ -36,5 +36,6 @@ def plot_test():
ift.plot(field_rg2, title='2d rg') ift.plot(field_rg2, title='2d rg')
ift.plot_finish(nx=2, ny=3, title='Five plots') ift.plot_finish(nx=2, ny=3, title='Five plots')
if __name__ == '__main__': if __name__ == '__main__':
plot_test() plot_test()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment