Skip to content
Snippets Groups Projects

W2list

Merged Johannes Schumann requested to merge w2list into master
2 files
+ 39
10
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -118,10 +118,10 @@ class TestAANET(unittest.TestCase):
np.testing.assert_allclose(evt.mc_tracks.pos_z, 208.57726764)
usr = evt.mc_tracks.usr[0]
# Bx
np.testing.assert_almost_equal(usr[0], 0.35479262672400624)
np.testing.assert_almost_equal(evt.w2list[7], 0.35479262672400624)
# By
np.testing.assert_almost_equal(usr[1], 0.8167222969153614)
np.testing.assert_almost_equal(evt.w2list[8], 0.8167222969153614)
# iChannel
np.testing.assert_equal(usr[2], 2)
np.testing.assert_equal(evt.w2list[9], 34)
# CC/NC
np.testing.assert_equal(usr[3], 1)
np.testing.assert_equal(evt.w2list[10], 2)
Loading