From 327e290c7f959dc1c7bf470d3e7a4d1c8fcc627c Mon Sep 17 00:00:00 2001 From: Johannes Schumann Date: Fri, 13 Oct 2023 12:32:16 +0200 Subject: [PATCH] Change input flux index convention --- km3buu/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km3buu/cmd.py b/km3buu/cmd.py index f0be2d5..c3d645b 100755 --- a/km3buu/cmd.py +++ b/km3buu/cmd.py @@ -248,7 +248,7 @@ def main(): if not single_energy_run and not np.isclose(args.flux, 0.): energies = np.linspace(energy[0], energy[1], 1000) - flux = 1e3 * energies**args.flux + flux = 1e3 * energies**-args.flux fluxfile = join(args.output, "flux.dat") np.savetxt(fluxfile, np.c_[energies, flux])