icecube / skyllh

https://icecube.github.io/skyllh/
GNU General Public License v3.0
11 stars 5 forks source link

New flux spectrum #229

Closed mskarl closed 2 months ago

mskarl commented 6 months ago

Adds the general possibility to define any energy spectrum as long as it is a callable function with energy as parameter. The more specific implementation requires two arrays defining the energy and the flux at that energy. The spectrum in this specific case is a peaked spectrum and we fit/define the spectrum by the energy of the peak.