Katu: a fast open-source full lepto-hadronic kinetic code suitable for Bayesian inference modelling of blazars

Bruno Jiménez Fernández, Hendrik van Eerten
4/16/2021
astro-ph.HE
bayesian

Official code: hveerten/katu (15 stars, C, LGPL-3.0, last commit 2021-07-21).

Abstract

In the modelling of blazars and other radiating plasma flows, correctly evolving in time a series of kinetic equation coupled for different particle species is a computationally challenging problem. In this paper we introduce the code Katu, capable of simultaneously evolving a large number of particle species including photons, leptons and hadrons and their interactions.

Show full abstract

For each particle, the numerical expressions for the kinetic equations are optimized for efficiency and the code is written to easily allow for extensions and modifications. Additionally, we tie Katu to two pieces of statistical software, emcee and pymultinest, which makes a suite ready to apply to blazars and extract relevant statistical information from their electromagnetic (and neutrino, if applicable) flux. As an example, we apply Katu to Mrk 421 and compare a leptonic and a leptohadronic model. In this first ever direct Bayesian comparison between full kinetic simulations of these models, we find substantial evidence (Bayes factor $\sim7$) for the leptohadronic model purely from the electromagnetic spectrum. The code is available online at https://github.com/hveerten/katu under the LGPL license.

View on arXivView PDF

Code Implementations(1)

hveerten/katuOfficial100%
LGPL-3.0
154C, PythonFeb 22, 20215 years agoLGPL-3.0

Similar Papers

Cite this paper

@article{fernndez2021katu,
  title  = {Katu: a fast open-source full lepto-hadronic kinetic code suitable for Bayesian inference modelling of blazars},
  author = {Bruno Jiménez Fernández and Hendrik van Eerten},
  year   = {2021},
  eprint = {2104.08207},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.08207}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.08207.svg)](https://codeofpaper.com/paper/2104.08207)

Discussion