From b4bd13afbb30a595b9d192649bdb1567a100f168 Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Tue, 14 Dec 2021 11:41:17 +0100 Subject: [PATCH] Fix wrong function name --- km3buu/physics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/km3buu/physics.py b/km3buu/physics.py index d7f18b2..db2f974 100644 --- a/km3buu/physics.py +++ b/km3buu/physics.py @@ -15,6 +15,8 @@ __maintainer__ = "Johannes Schumann" __email__ = "jschumann@km3net.de" __status__ = "Development" +import numpy as np + ELEC_PARAMS = { "ELECa": 1.33356e5, "ELECb": 1.66113e2, @@ -153,7 +155,7 @@ def number_photons_per_electron(energy): def pion_weight(energy): - norm = nphotons_per_electron(energy) + norm = number_photons_per_electron(energy) if energy < 6e-2: return 1e4 * PION_PARAMS["PIa"] / norm elif energy < 1.5e-1: -- GitLab