Skip to content

Commit

Permalink
Change input flux index convention
Browse files Browse the repository at this point in the history
  • Loading branch information
8me committed Oct 13, 2023
1 parent 73205b8 commit 327e290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion km3buu/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 327e290

Please sign in to comment.