Closed
Description
Some time ago, I had started a review of this module, in particular I would like to tidy up the "Total Flux" and "Flux from the nearest source" calculations.
In the following snippet:
flarestack/flarestack/utils/neutrino_astronomy.py
Lines 81 to 84 in 56810cf
the energy-integrated flux at Earth is multiplied by
1+z
as a consequence of the energy range on which the integral takes place being redshifted w.r.t. the rest frame of the source.
From my calculations this should be (1+z)^(1-gamma)
that for gamma = 2
should give 1/(1+z)
. Note that the comment mentions a 1/(1+z)
factor while code multiplies by (1+z)
. For sure this should depend on EnergyPDF
and gamma
.
Probably my calculations should be double-checked as well, I am attaching here the file that @JannisNe and @robertdstein have already received by mail: nu_astro.pdf
Metadata
Metadata
Assignees
Labels
No labels