Aufgrund von Umarbeiten des s3 Storage wird es in GitLab, in nächster Zeit, mögliche Performance-Einbußen geben. Näheres dazu unter: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/43/show_ticket/6670

Commit ea6f3278 authored by Marcus Wirtz's avatar Marcus Wirtz

[simulations] Disable plotting in unittest

parent 28ac0b19
Pipeline #361207 failed with stages
in 4 minutes and 51 seconds
......@@ -527,7 +527,7 @@ class TestSourceBound(unittest.TestCase):
sim.set_sources(source_density=1e-4, sources=sources, n_src=300)
sim.attenuate()
sim.smear_sources(np.deg2rad(3))
sim.plot_arrivals(opath='source_hybrid_1e-4.png')
# sim.plot_arrivals()
# sim.plot_spectrum()
# sim.plot_distance()
vecs_sum = np.mean(sim.crs['vecs'], axis=(-2, -1))
......@@ -554,7 +554,6 @@ class TestSourceBound(unittest.TestCase):
sim.smear_sources(np.deg2rad(3))
for i in range(len(densities)):
mask = (np.arange(sim.nsets) < (i+1)*n_each) & (np.arange(sim.nsets) >= i*n_each)
sim.plot_arrivals(idx=sim._select_representative_set(mask), opath='source_hybrid_sd_%s.png' % densities[i])
vecs = sim.crs['vecs'][:, mask]
self.assertTrue(vecs.shape == (3, n_each, ncrs))
vecs_sum = np.mean(vecs, axis=(-2, -1))
......
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