icecube / skyllh

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

New flux spectrum #229

Open mskarl opened 2 months ago

mskarl commented 2 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.