Skip to content
Snippets Groups Projects
Commit aa4728e6 authored by Lukas Platz's avatar Lukas Platz Committed by Lukas Platz
Browse files

add tests of new functionality

parent 8060bedb
No related branches found
No related tags found
1 merge request!847Draft: Multi-Frequency and `HPSpace` Plotting refactor
...@@ -78,10 +78,20 @@ def test_mf_plot(): ...@@ -78,10 +78,20 @@ def test_mf_plot():
plot = ift.Plot() plot = ift.Plot()
plot.add(f1, block=False, title='f_space_idx = 1') plot.add(f1, block=False, title='f_space_idx = 1')
plot.add(f2, freq_space_idx=0, title='f_space_idx = 0', dynamic_range=10.) plot.add(f2, freq_space_idx=0, title='f_space_idx = 0')
plot.output(nx=2, ny=1, title='MF-Plots, should look identical', plot.output(nx=2, ny=1, title='MF-Plots, should look identical',
name=next(name)) name=next(name))
ift.single_plot(f1, dynamic_range=10., brightness_scale_anchor=1.,
name=next(name))
plot = ift.Plot()
plot.add(f1, block=False, title='plain')
plot.add(f1, f_space_bin_energies=10**np.arange(4),
map_energies_logarithmically=True, title='log mapped energies')
plot.output(nx=2, ny=1, title='MF-Plots, should look identical',
name=next(name))
def test_iter_plot(): def test_iter_plot():
for ind in range(2): for ind in range(2):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment