Issue |
A&A
Volume 658, February 2022
|
|
---|---|---|
Article Number | A111 | |
Number of page(s) | 9 | |
Section | Numerical methods and codes | |
DOI | https://doi.org/10.1051/0004-6361/202142458 | |
Published online | 07 February 2022 |
Flaremodel: An open-source Python package for one-zone numerical modelling of synchrotron sources
1
Max Planck Institute for extraterrestrial Physics, Giessenbachstrasse 1, 85748 Garching, Germany
e-mail: ydallilar@mpe.mpg.de
2
Sterrewacht Leiden, Leiden University, Postbus 9513, 2300 RA Leiden, The Netherlands
3
Department of Physics, Technical University Munich, James-Franck-Strasse 1, 85748 Garching, Germany
4
Departments of Physics and Astronomy, Le Conte Hall, University of California, Berkeley, CA 94720, USA
5
INAF-Osservatorio Astronomico di Brera, Via E. Bianchi 46, 23807 Merate, LC, Italy
6
Max Planck Institute for Radio Astronomy, Auf dem Hügel 69, 53121 Bonn, Germany
Received:
15
October
2021
Accepted:
17
November
2021
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. 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.
Key words: radiative transfer / radiation mechanisms: non-thermal / stars: black holes
© Y. Dallilar et al. 2022
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Open Access funding provided by Max Planck Society.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.