Flaremodel: An open-source Python package for one-zone numerical modelling of synchrotron sources

Y. Dallilar, S. von Fellenberg, M. Bauböck, P. T. de Zeeuw, A. Drescher +11 more
11/30/2021
astro-ph.HEastro-ph.IM

Official code: ydallilar/flaremodel (7 stars, Jupyter Notebook, BSD-3-Clause, last commit 2022-01-03).

Abstract

Synchrotron processes, the radiative processes associated with the interaction of energetic charged particles with magnetic field, are of interest in many areas in astronomy, from the interstellar medium to extreme environments near compact objects. Consequently, observations of synchrotron sources carry information on the physical properties of the sources themselves and those of their close vicinity.

Show full abstract

In recent years, novel observations of such sources with multi-wavelength collaborations reveal complex features and peculiarities, especially near black holes. Exploring the nature of these sources in more detail necessitates numerical tools complementary to analytical one-zone modelling efforts. In this paper, we introduce an open-source Python package tailored to this purpose, flaremodel. The core of the code consists of low-level utility functions to describe physical processes relevant to synchrotron sources, which are written in C for performance and parallelised with OpenMP for scalability. The Python interface provides access to these functions and built-in source models are provided as a guidance. At the same time, the modular design of the code and the generic nature of these functions enable users to build a variety of source models applicable to many astrophysical synchrotron sources. We describe our methodology and the structure of our code along with selected examples demonstrating capabilities and options for future modelling efforts.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
73Jupyter Notebook, PythonOct 15, 20214 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{dallilar2021flaremodel,
  title  = {Flaremodel: An open-source Python package for one-zone numerical modelling of synchrotron sources},
  author = {Y. Dallilar and S. von Fellenberg and M. Bauböck and P. T. de Zeeuw and A. Drescher and F. Eisenhauer and R. Genzel and S. Gillessen and M. Habibi and T. Ott and G. Ponti and J. Stadler and O. Straub and F. Widmann and G. Witzel and A. Young},
  year   = {2021},
  eprint = {2111.15273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.15273}
}

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/2111.15273.svg)](https://codeofpaper.com/paper/2111.15273)

Discussion