Skip to content
Snippets Groups Projects

Weights update

Merged Johannes Schumann requested to merge weights into master
Files
2
@@ -79,6 +79,11 @@ class TestGiBUUOutput(unittest.TestCase):
w2[:3], [2.42100575e-06, 1.14490671e-08, 3.59246902e-05],
decimal=5)
def test_global_generation_weight(self):
self.assertAlmostEqual(self.output.global_generation_weight(4 * np.pi),
2511.13458,
places=2)
@pytest.mark.skipif(not KM3NET_LIB_AVAILABLE,
reason="KM3NeT dataformat required")
@@ -131,4 +136,4 @@ class TestAANET(unittest.TestCase):
# CC/NC
np.testing.assert_equal(evt.w2list[10], 2)
# GiBUU weight
np.testing.assert_almost_equal(evt.w2list[19], 0.8167222969153614)
np.testing.assert_almost_equal(evt.w2list[19], 0.004062418521597373)
Loading