Next Article in Journal
Determination of the Stray Light-Induced Noise from the Baffle in the Cryogenic Trapping Area of Advanced Virgo in O5
Next Article in Special Issue
TeV Dark Matter Searches in the Extragalactic Gamma-ray Sky
Previous Article in Journal
Ultra-High-Energy Particles at the Border of Kerr Black Holes Triggered by Magnetocentrifugal Winds
Previous Article in Special Issue
Gamma-Ray Bursts at TeV Energies: Theoretical Considerations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Open-Source Radiative Modeling Tools for Extragalactic VHE Gamma-ray Sources

1
Institut de Física d’Altes Energies (IFAE), The Barcelona Institute of Science and Technology, Campus UAB, Bellaterra, 08193 Barcelona, Spain
2
Department of Astronomy, University of Geneva, Ch. d’Ecogia 16, CH-1290 Versoix, Switzerland
*
Authors to whom correspondence should be addressed.
Galaxies 2022, 10(4), 85; https://doi.org/10.3390/galaxies10040085
Submission received: 8 May 2022 / Revised: 22 July 2022 / Accepted: 26 July 2022 / Published: 31 July 2022
(This article belongs to the Special Issue Extragalactic TeV Astronomy)

Abstract

:
In this review, we discuss various open-source software for modeling the broadband emission of extragalactic sources from radio up to the highest gamma-ray energies. As we provide an overview of the different tools available, we discuss the physical processes that such tools implement and detail the computations they can perform. We also examine their conformity with modern good software practices. After considering the currently available software as a first generation of open-source modeling tools, we outline some desirable characteristics for the next generation.

1. Introduction

In the last two decades, the energy window in which active galactic nuclei (AGN) and gamma-ray bursts (GRBs) can be observed has been extended towards high ( E > 100 MeV ) and very-high ( E > 100 GeV ) energies [1,2,3,4,5]. The broadband emission of extragalactic sources, from radio to gamma rays, is commonly modeled with the radiative processes of non-thermal relativistic particles [6,7,8]. This modeling approach offers the promising prospect to study astrophysical acceleration mechanisms and, ultimately, identify the sources of cosmic rays [9]. Traditionally, once multi-wavelength (MWL) data are gathered and reduced, their interpretation is performed with closed-source software (i.e., software that cannot be publicly studied, changed, or distributed). Over the years, the growing amount and coverage of MWL data resulted in the production of several closed-source modeling software with increasing complexity, all inevitably engendering the issue of reproducibility of results. By reproducibility of results, we mean the possibility for a user to download the software and the scripts associated with a certain publication (and possibly the computational environment, e.g., in the form of a container) and reperform the calculations in autonomy. Moreover, despite often implementing the same physical processes, these software were never validated against each other, and only recently a systematic comparison of their results has been publicly presented [10]. While appreciating that these tools forged the current understanding of the emission of extragalactic sources, we observe that their validation and the reproducibility of their results remain inevitable limitations. In the context of the forthcoming era of high-energy astrophysics, the limited accessibility of these closed-source software represents another drawback. The next generation of gamma-ray observatories, such as the Cherenkov Telescope Array (CTA), will indeed provide open access to their data [11]. Preparing for this, astrophysicists have started to develop standardized data formats [12,13] and open-source analysis tools [14,15]. The amount of MWL data that the new observatories will make available in the future renders the old closed-source modeling approach simply not sustainable, urging for it to be opened to a wider number of astrophysicists. This introduces the necessity to provide modeling tools with open-source licenses and adopting modern good software practices. In this review, we present the outset of this shift in the modeling paradigm. We describe several open-source software publicly available for interpreting the non-thermal emission of extragalactic jetted sources. We focus our attention on tools capable of describing the highest-energy emission of these sources. Our review has a strong bias towards AGN modeling since their emission up to TeV energies is long consolidated, while for GRBs this represents a more recent finding [4,5]. We also briefly examine the capability of the presented frameworks to model jetted sources of galactic origin (e.g., microquasars) characterized by the same radiative processes of their extragalactic counterparts.
This review is thus structured. In Section 2, we provide a quick overview of the major physical processes at play in extragalactic jetted sources, their knowledge being essential to understand what is being implemented by the different modeling tools. Section 3 presents the software publicly available, introducing the physical processes they model and their technical specifications (e.g., language in which they are implemented, resources available, etc.). For each tool, we also provide examples of its application. In Section 4, we critically review the available tools and suggest some desirable characteristics for a future generation of open-source modeling software. We close this review with some remarks on how to establish a more reproducible process of physical modeling and interpretation.

2. Physical Background

This section is meant to provide a brief physical background to the understanding of the astrophysical sources and physical processes modeled in each software.

2.1. Jetted Extragalactic Sources

The presence of relativistic jets is ubiquitous to radio-loud AGN and GRBs (and to some galactic sources). Jets are generated in the environments surrounding accreting black holes (BH), where collimated outflows of plasma can be launched with bulk velocities close to the speed of light c [16,17]. The main differences between these two categories of extragalactic sources reside in the velocity of the jet ( Γ AGN ∼10, Γ GRB ∼100, with Γ bulk Lorentz factor of the outflow), in the dissipation of energy along the jet, and in the luminosity and duration of their emission.
AGN are galaxies characterized by strong nuclear activity, commonly associated with the accretion onto a supermassive BH with mass M BH = 10 6 10 9 M (with M mass of the Sun). Accretion efficiently converts gravitational energy in thermal radiation, with a range of emission from infrared (IR) to X-rays, and a total luminosity reaching up to 10 46 10 47 erg s 1 [18]. The emission in radio-loud AGN extends from radio to gamma rays (up to few TeV in some cases) and is dominated by the non-thermal radiation of the plasma flowing in the jet. As small plasmoids are observed streaming along the jet in the radio band [19], the non-thermal emission is commonly attributed to a small region of the outflow. The so-called blazars represent the class of jetted AGN most commonly observed at the highest energies. A small viewing angle between the jet axis and the observer [20] results in a strong relativistic boosting of their non-thermal radiation. Blazars show strong flux variability, with time scales ranging from minutes to decades [21,22], and high polarization in the optical band [23]. Blazars can be divided into two classes: BL Lacs, characterized by featureless optical spectra, and flat-spectrum radio quasars (FSRQs), showing significant line and thermal emission from hot gas orbiting the central BH. The photon fields produced by line and thermal emitters, located at sub- pc distances from the BH, should absorb via γ γ pair production the gamma-ray spectra of FSRQs. Due to the rare observations of these absorption features (1 object out of 10) [24,25], it is inferred that the non-thermal emission region is located mostly at ∼pc scales.
GRBs are associated with the formation of a stellar-mass BH ( M BH 10 M ) following the merger of compact objects or a catastrophic star collapse. The ensuing outflow of plasma can be collimated in a jet [26], with particles accelerated in its progressive shocks. Non-thermal emission occurs at two characteristic distances, both well under the pc scale, characterizing two different phases of the emission (prompt and afterglow) [3]. The afterglow phase is characterized by the interaction of the shocked material with the external (or circumstellar) medium, which results in the gradual decrease in the bulk Lorentz factor and in a fainting emission, in some cases detectable for days. GRB luminosities can achieve values of 10 50 10 52 erg s 1 .

2.2. Physical Processes

The non-thermal emission spectrum of different types of extragalactic sources can be described by a power law (PL) over a broad range of photon energies. This PL of photons is the imprint of the PL energy distribution of the radiating particles, a result of first- and second-order Fermi acceleration processes [27]. It is commonly assumed that particles are accelerated and radiate in a finite region of the jet that we will refer to as emission region. The radiation, being emitted in a finite region moving at relativistic speeds, has its intensity relativistically boosted by a factor depending on Γ and on geometry. If a simple spherical plasmoid is considered, as in jetted AGN, the observed energy flux, ν F ν [ erg cm 2 s 1 ] , is boosted by the fourth power of the Doppler factor δ D = 1 Γ ( 1 β cos θ ) , where β is the velocity of the outflow and θ the observer’s viewing angle. For GRBs, with the emission region being extended to the whole jet section, the beaming pattern can be more complex ([26] see Section 2).
The spectral energy distribution (SED) of radio-loud AGN shows two main components: a low-energy one, peaking in the IR to X-ray band, commonly attributed to synchrotron radiation of relativistic electrons and positrons, and a high-energy component, peaking in gamma rays, that can be either leptonic or hadronic in origin. In leptonic models, the high-energy emission is due to inverse Compton (IC) scattering by e ± [28] of target photon fields internal or external to the emission region. In what is commonly referred to as synchrotron self-Compton (SSC) scattering, the target photon field is internal to emission region and is provided by the synchrotron radiation of the very same accelerated e ± [29]. In the so-called external Compton (EC) scenario, the photon fields target for Compton scattering can be provided either by the AGN line and thermal emitters: accretion disk, broad line region (BLR), or dust torus (DT) [30,31,32], or by the synchrotron emission of other components of the jet [33,34], or even by the cosmic microwave background (CMB) [35]. In hadronic models, on the other hand, the high-energy emission is explained with the radiative processes of the secondaries originated in p p or p γ interactions [10,36]. The soft photon fields target for IC or p γ interactions can also produce absorption of the high-energy radiation via γ γ pair production. The same absorption can occur on the extragalactic background light (EBL) while the photons travel to Earth [37].
Given their very recent observations at the highest energies [4], the mechanisms of the broadband emission of GRBs are still under discussion. While some authors accommodate the whole MWL emission, up to TeV energies, with synchrotron radiation [38], others observed the presence of a second component at the highest energies, attributed, as in blazars, to SSC [39]. Hadronic models have also been suggested to accommodate the highest energy emission from GRBs [40].
Assuming a particular physical scenario and taking into account the corresponding radiative processes, one can fit the observed MWL SED (see, e.g., Figure 1, Figure 2 and Figure 3) and hence infer the underlying particle energy distribution. The parameter space for these models is often degenarate, with changes in different parameters giving rise to similar patterns in the observed fluxes. Time-resolved SED modeling, properly taking into account the interplay between particles acceleration, cooling via radiative processes, and change of physical conditions in the emission region, constitutes a powerful tool to identify the physical mechanism or parameter responsible for a given observed emission. To obtain broadband spectra at different times (see, e.g., Figure 4), it is necessary to solve a differential equation regulating the time evolution of the underlying particle energy distribution (see, e.g., [8] Equation (7)).

3. Open-Source Modeling Tools

In this section we provide an overview of the open-source software publicly available to model the broadband emission of extragalactic jetted sources. We detail their theoretical background, list the physical processes they model, and offer an overview of their resources and usage. In the following, we identify with the term validation the numerical comparison of the results produced by a given tool with the output of another software or the reproduction of results from the literature.

3.1. naima

naima [44] is a python package designed to infer the non-thermal particle distributions underlying an observed broadband photon spectrum. naima represented the first python package modeling non-thermal radiative processes made publicly available. It is built entirely in the ecosystem formed by NumPy [45], SciPy [46], and astropy [47,48] and is one of the packages affiliated with the astropy project [49]. The packages forming this ecosystem provide the foundations on which an increasing number of tools for astrophysics are being built. For the calculation of the radiative processes, naima relies on a numerical approach: the observed emission is computed by integrating the analytical functions representing or approximating a given emission process with the particle energy distribution. Both non-thermal leptons and hadrons distributions can be considered. naima does not implement time evolution of the particle energy distributions, but can accept as input an arbitrary energy distribution (such that, for example, the result of a time evolution computed with another software can be considered). naima implements both leptonic and hadronic radiative processes. Synchrotron radiation, IC on isotropic photon fields, and non-thermal Bremsstrahlung radiation are available for electrons. For protons, the photon spectrum produced by the decay of the neutral pion result of p p interactions can be computed, though the spectrum of the secondary particles is not computed. The only γ γ absorption considered is the one on the EBL, following the model of [50]. The code assumes co-moving densities of particles; therefore, it is inadequate to describe extragalactic jetted sources such as blazars or GRBs, in which the emission region typically moves at relativistic speed against a target (photon fields or other particles). The beaming pattern due to the relativistic motion of the emission region is also not computed and it has to be manually calculated by the user. There is no option to consider multiple emission regions. Being the inference of the particle distribution underlying one or more radiative processes the main objective of the package, routines for flux points handling, and SED fitting are provided. naima offers a wrapper to import its radiative models in sherpa [51,52], allowing the user to use sherpa’s data handling and fitting capabilities. Gammapy [15], a python package for the analysis of gamma-ray data, includes a wrapper to the naima radiative models in its own source code. Alternatively, a Markov chain Monte Carlo (MCMC) fit can be performed interfacing naima with emcee [53], as illustrated in [44] and in other examples in the documentation. No validation of the radiative processes implemented in the package is provided in the documentation or in [44].
naima has mostly been used to model galactic sources, especially supernova remnants or pulsar wind nebulae (PWN). Nonetheless, for the simplest case of an emission region with a simple geometry and moving at relativistic speed, the package can be adapted to model jetted extragalactic sources (computing a flux and boosting it a posteriori). This approach was used for Mkr 421 in [54] and for GRB 190829A in [38]. The scripts using naima for the interpretation of GRB 190829A, illustrated in Figure 1, are also available online [55]. In this case, a spherical shell emission region is considered, with electrons accelerated by a forward shock swiping material from a stellar wind or from the interstellar medium (ISM). Since naima does not perform temporal evolution, a broken PL with an exponential cut-off is considered for the electron distribution.
naima’s developement is hosted on GitHub [56], where eight contributors are listed. It follows modern good software practices adopted by other python packages: it provides a documentation hosted on Read the Docs [57] and includes a test suite part of a continuous integration (CI) system. naima can be installed via pip and conda. [44] constitutes the only reference publication for the package.

3.2. GAMERA

GAMERA [58] is a C++ library providing a modular approach to the modeling of the emission of different types of sources, along with some tools for population studies. GAMERA offers a python wrapper, gappa, returning the result of GAMERA’s computations as NumPy arrays. Similar to naima, GAMERA relies on a numerical approach for the radiative processes computation. Non-thermal electron and proton distribution can be considered and can be evolved in time. It is possible to evolve the particle spectra considering cooling via all the radiative processes implemented in the package, which are the same as available in naima (synchrotron, IC, Bremmsstrahlung for e ± and decay of π 0 from p p interactions). The numerical solution of the particle transport equation is based on an algorithm that interprets the transport as an advective flow in energy space and solves it using a donor-cell advection algorithm. For constant energy losses and no particle escape, GAMERA offers the possibility to use a semi-analytical method, providing a faster computation. For Compton scattering, the full angular dependency of the Compton cross section is considered, allowing to model the scattering of anisotropic photon fields by anisotropic electrons. The effect of γ γ absorption on anisotropic photon fields is also modeled by the library. Several interacting emission regions can be considered. No validation for the radiative processes computation is provided in [58]; though the PWN model in [59] is reproduced, no numerical comparison of the SEDs is provided. GAMERA does not directly implement data handling, nor provides wrappers to other fitting packages. A python script for SED fitting is available in the documentation, but the model for fitting has to be manually modified by the user. GAMERA implements routines for flux point (the energy flux [ erg cm 2 s 1 ] measured by an instrument in a given energy bin) simulation: once an instrument response function (IRF) is provided, the observed flux corresponding to a specific radiative model can be obtained. Utilities representing the first steps in population studies are provided with the library. In [58], it is shown how to generate a population of young PWN in the galaxy, though it is left to the user to compute their total emission.
GAMERA has been mostly employed for AGN modeling [41,42,60]. In Figure 2, we show the model obtained with GAMERA fitting the MWL emission of the BL Lac OJ 287 observed during 2017–2020 [41]. The emission corresponds to an electron distribution with an injected log-parabolic spectrum cooling via synchrotron and IC radiation. In Figure 3, we instead show the application of GAMERA to model the highest energy component of the FSRQ PKS 1830-211 with EC scattering on photons produced by the BLR (anisotropic target photon field).
GAMERA’s development is hosted on GitHub [61], where five contributors are listed; its documentation is hosted online [62]. No unit tests and no CI are set up. The C++ library is not distributed with any package system and has to be manually downloaded from GitHub and built with make. The python wrapper is not available via a standard package manager (pip, conda); a static library has to be manually built by the user and appended to the search path for modules in each python script.

3.3. JetSeT

JetSeT [63,64,65] is an open-source C/python framework to reproduce radiative and acceleration processes acting in extragalactic jets and galactic objects (beamed and unbeamed). Both static and time-dependent modeling are implemented, allowing the user to fit the numerical models to observed data. JetSeT allows defining several leptonic radiative scenarios: synchrotron, SSC, EC on disk, BLR and DT photon fields, EC on the CMB. It also computes the γ γ absorption on the EBL models of [50,66,67]. Moreover, JetSeT models hadronic p p emission, considering γ from π 0 decay, and also the radiation from the secondaries of charged pions (evolved to equilibrium). Neutrinos spectra, result of the decay of these secondaries, can also be estimated. JetSeT incorporates template models, e.g., for the host galaxy and the big blue bump (BBB) feature produced by the disk. The code implements a self-consistent temporal evolution of the plasma under the effect of radiative and adiabatic cooling, and both first- and second-order (stochastic) acceleration processes. JetSeT provides tools to handle observed data such as grouping, definition of datasets, and handling of upper limits and time ranges. All the datasets, the output tables, and the produced SEDs can be returned as astropy tables with units. The model fitting can be assisted by a prefit stage in which a phenomenological characterization of the SED is fitted to the data (via power-law and log-polynomial fit). The derived parameters, such as spectral indices, curvatures, peak fluxes, and frequencies, are used to constrain the parameter space of the synchrotron and SSC/EC scenarios. These constraints are taken into account in the successive fit stage, with the proper physical radiative models. From an implementation point of view, JetSeT is fully object-oriented, with both inheritance and composition, and provides a broad range of models, implemented inheriting from the BaseModel class. Models can be combined together, using the FitModel class from the model_manager module, and then plugged to a minimizer for fitting. The main type of models are as follows:
  • Numerical models:
    Jet class, handling both leptonic and hadronic ( p p ) emission for extragalactic jetted objects, and the JetTimeEvol to perform temporal evolution of a leptonic plasma;
    GalacticBeamed class for galactic jetted objects;
    GalacticUnbeamed class for galactic objects without jets, such as PWN and SNR.
  • Analytical models: handling the phenomenological models (e.g., power-law or log-polynomial models) used for the prefit stage. They can be additionally used to define user-defined analytical models to plug, via the model manager, to the fitting routines.
  • Template models: used to reproduce template of the galaxy emission or of the BBB, and also used for the computation of the absorption on the EBL (with a dependency on redshift and energy).
The parameters of the models are handled by a dedicated class which implements, via composition and inheritance, complex and flexible features. The parameters wrap astropy quantities, for easy interface with other astropy-based packages. Parameters can be linked via mathematical expression, both within the same model or among different models. For example, one can define the magnetic field as function of the blob size and position across the jet; the BLR size as a function of the disk luminosity; or set an analytical dependency between the low- and high-energy indexes of a broken PL particle distribution. Dedicated classes handle both frequentist and Bayesian model fitting (see Figure 5, top panel). The frequentist model fitting class implements plugin to iminuit [68] and to the SciPy least square bound implementation. The bayesian model fitting can instead be performed using a MCMC sampler with a plugin to emcee [53]. Best-fit SEDs and parameters, including MCMC results, can be stored to file. A plugin to use sherpa and Gammapy is also implemented. The temporal evolution of the leptonic plasma is implemented in the JetTimeEvol class. To follow the evolution of the particle distribution, JetSeT proceeds through the numerical solution of a kinetic equation based on the the quasi-linear approximation with the inclusion of a momentum diffusion term in [69,70]. The numerical solution of the Fokker–Planck equation is obtained using the same approach as [64], which is based on the method proposed by [71,72]. The temporal evolution can connect together more than one region, allowing to simulate the acceleration and radiative regions separately, injecting the particles from the acceleration to the radiative region. The code allows to store particle distributions, SEDs, and light curves (with a user-specified sampling) and to convolve the light curves with the light crossing time through the emission region. Each defined model, including the models with temporal evolution, can be saved using python’s pickling mechanism.
JetSeT has been extensively used for modeling and fitting radiative emission in blazars both for BL Lacs and FSRQs. Temporal evolution capabilities have been used in recent work [43] to simulate the impact of the adiabatic expansion on radio to gamma-ray delays. In the model in Figure 4, particles are initially injected and accelerated in an acceleration region, where they undergo both acceleration and cooling. They then diffuse towards a radiative region, where only radiative losses and adiabatic expansion take place. The effect of the expansion, leading to a decrease in the magnetic field, can be observed both in the SEDs (top panel), showing a shift of the synchrotron self-absorption frequency, and in the light curves (three bottom panels), showing the delays observed between gamma-ray and radio flares. The flexibility of the code allows building complex and flexible user-defined models, or plugins, as demonstrated for the microquasars MAXI J1820+070 during the 2018 outburst [73]. The model is composed of an irradiated disk with a Compton hump and a leptonic jet with an acceleration region and a synchrotron-dominated cooling region. Figure 5 (bottom panel) illustrates the best-fit SED for this scenario obtained with JetSeT with the MWL data in [73].
JetSeT is hosted on GitHub [74] and the documentation is hosted on Read the Docs [75]. Continuous integration (CI) and continuous deployment (CD) are performed by GitHub Actions. Test suites are performed for each new release, available via conda and pip. Pre-releases, for source conda and pip, are hosted on GitHub [76], and documented on GitHub Pages. Pre-releases can be easily installed using the script in the jetset-installer [77] repository.

3.4. agnpy

agnpy [78] is a python package modeling the radiative processes in jetted AGN. Similar to naima, agnpy is entirely built in the python scientific ecosystem and is one of the packages affiliated with the astropy project. As for the other packages, agnpy relies on a numerical approach to compute the radiative processes of non-thermal electron distributions. Routines for time evolution are not included in the package, though a module for the constraint of the spectral parameters according to a simple parametrization of the acceleration and radiation processes is available. agnpy implements synchrotron radiation, SSC, and EC on anisotropic (accretion disk, BLR, DT) and isotropic (CMB) photon fields. Similarly to GAMERA, the full angular dependency of the Compton cross section is taken into account, though only isotropic electron distributions can be considered. γ γ absorption on all the photon fields target for Compton scattering can be computed (see, e.g., Figure 6). Values for the opacity due to different EBL models [50,66,67] are also included. The viewing angle θ s of the observer to the jet axis is included among the parameters of all the physical processes implemented, such that agnpy can be adopted to describe radio-loud AGN, beside blazars. In its current state it is not possible to consider multiple or complex emission regions beside the simple homogeneous sphere (blob). Utilities for data handling and fitting are not included in the package; a Gammapy wrapper is provided instead. Living in the python scientific ecosystem, agnpy is seamlessly interfaceable with the fitting routines included in other tools such as sherpa, as shown in several examples in the documentation and in [78]. In Figure 7, as an illustrative example, we show a fit of the MWL emission of Mrk421 obtained by wrapping agnpy with Gammapy. agnpy is thoroughly validated by numerically checking the output of each radiative process against results from the main reference used for its implementation [7,31,79,80,81] and against JetSeT ([78]; see Section 4). Examples of validation are illustrated in Figure 6 (left panel) and in Figure 8. Additional internal consistency checks are implemented: for example, EC spectra and γ γ opacities are compared against an approximation considering the target photon fields as a monochromatic point source (see, e.g., Figure 6, right panel). Deviations well within 30 % are achieved when comparing against the literature and against JetSeT, when the same physical assumptions are considered. Differences within a factor of 2 are instead obtained when comparing against processes implemented with different assumptions (e.g., when comparing against the EC implemented in JetSeT). agnpy is the first non-thermal modeling tool openly presenting such detailed numerical comparisons and integrating them in its test system. agnpy has been used for modeling blazars, especially FSRQs, thanks to its solutions for EC scattering and γ γ absorption [82,83,84].
agnpy is hosted on GitHub [85], where six contributors are listed; its documentation is hosted on Read the Docs [86]. The package includes a test suite part of its CI system. Numerical comparisons against literature reference and JetSeT results are embedded in these tests. CD is also implemented, with each tagged version of the software made immediately available via pip and conda. Ref. [78] constitutes the release paper of the software.

3.5. BHJet

BHJet [88,89,90] is a set of C++ libraries modeling the emission of accretion/ejection systems of different scales: from black hole X-ray binaries (BHXB) to radio-loud AGN. It comprises the following libraries: Kariba, describing the radiative processes and their underlying particle distributions, and the AgnJet and BlJet libraries, modeling jets with different physical properties. AgnJet describes a mildly relativistic, pressure-driven jet [91,92,93], while BlJet describes a Blandford-Königl [28] magnetic-driven jet. A numerical approach is used for the radiative processes computations and a semi-analytical approach for the jet modeling calculations. As the library aims to also describe accretion systems, both thermal and non-thermal electron distributions can be considered. No time evolution is implemented, but a steady-state solution of the differential equation regulating the particle cooling can be evaluated, accounting for adiabatic, synchrotron, and IC losses only in the Thomson regime. The radiative processes modeled by Kariba are black-body radiation, cyclotron radiation due to thermal electrons, synchrotron radiation due to non-thermal electrons, and inverse Compton (SSC and EC on the AGN components). Successive scattering orders can be considered for the IC (i.e., the IC radiation can be target for further IC scattering). For both jet classes, a fluidodynamic equation representing the velocity profile can be solved, allowing to obtain the particle density and the magnetic field at each height of the jet, and hence for the steady-state solution of the cooling calculated. BHJet can therefore be used to evaluate the MWL emission from the entire outflow. No routines for SED fitting are provided, but the array returned by the radiative processes computations is compatible with XSPEC [94]. Some validation is provided for the radiative processes and the jet modeling in [90]. The Compton spectra are benchmarked against calculations of the compPS [95] included in XSPEC. The results of the semi-analytical modeling of the jet evolution (e.g., magnetic field, electron density) are instead compared against general-relativistic magnetohydrodynamics (GRMHD) simulations and it is observed that BHJet can approximately reproduce the magnetic field value and the particle density in the case of a mildly-relativistic pressure-driven jet or in the case of a highly-relativistic magnetized jet. Before its public release, previous versions of the software were extensively used for binaries and AGN modeling (see [90] and references therein). To illustrate an application of BHJet to compute the spectrum of a VHE source, we show, in Figure 9, the electron distribution and the MWL SED of an FSRQ computed for several distances along the jet axis.
BHJet is available on GitHub [96], where four contributors are listed. No documentation is provided, but a few example scripts to reproduce the results in [90] are available. The library is not distributed with any package system and has to be manually downloaded from GitHub and built with make, along with the example scripts. Ref. [90] constitutes the release paper of the software.

3.6. FLAREMODEL

FLAREMODEL [97] is a python package modeling astrophysical synchrotron sources. Contrary to the uniform (spherical) emission regions considered in the other packages, FLAREMODEL allows to consider inhomogenous spherical emission regions. The basic routines are written in C with options for multi-threading and wrapped with a python interface integrated with NumPy, but not with astropy. Differently to the other codes, FLAREMODEL employs ray-tracing, i.e., the propagation of imaginary rays is followed through a region with changing physical conditions, hence allowing to consider non-isotropic particle distributions in the emission region. Both thermal and non-thermal electron distributions can be employed. Their time evolution is modeled considering adiabatic and synchrotron losses, while IC cooling is not included. In addition to synchrotron radiation, SSC emission can also be computed. Multiple emission regions cannot be considered. A SED fitting routine built on lmfit [98] is made available. Validation is provided in [97] for the computations implemented in the package. The synchrotron emissivity and absorption coefficients are compared against those computed with the symphony code [99]. The synchrotron emission obtained by [100] for a sphere with power-law radial density and magnetic field is reproduced. A consistency check, illustrated in Figure 10, is performed for the SSC from a uniform sphere, comparing the solution obtained with ray-tracing against the numerical simplification that assumes a uniform particle distribution. Examples of time evolution under synchrotron and adiabatic cooling are provided in [97]. The software was used in [101] to model the synchrotron emission of Sgr A *.
FLAREMODEL is hosted on GitHub [102], where one contributor is listed. The documentation [103] includes basic notebook tutorials, reproducing the figures in the release paper [97]. FLAREMODEL is distributed via pip.

4. Discussion and Conclusions

4.1. Review of the Current Packages

We have examined in our review six packages modeling the non-thermal broadband emission of jetted extragalactic sources from radio to gamma rays. We briefly also consider their capability to describe galactic sources characterized by the same emission mechanisms. In Table 1, we present a global overview of the physical processes implemented by each software. All the tools provide leptonic synchrotron and SSC emission models. BHJet and FLAREMODEL provide the most sophisticated calculations for these radiative processes, with the first taking into account the emission from the whole plasma outflow and several orders of IC scattering, and the latter employing ray-tracing to consider a non-uniform emission region. Having being used to model low-energy sources, BHJet and FLAREMODEL are also the only libraries including thermal electron distributions. By considering the full angular dependency of the Compton cross section, GAMERA can compute IC scattering with anisotropic electrons and anisotropic target radiation fields. Similarly, agnpy provides IC scattering on anisotropic radiation field (with isotropic electrons though). Both GAMERA and agnpy can compute γ γ absorption on anisotropic photon fields, while naima and JetSeT provide only absorption on the EBL. Regarding hadronic radiative processes, a description of the p p interaction is implemented in naima, GAMERA, and JetSeT, while none of the tools include photo-hadronic ( p γ ) emission models [10]. In naima and GAMERA, only the π 0 decay in gamma rays is modeled, while JetSeT models the decay of charged pions, computing the equilibrium distributions of secondary e ± pairs and their radiation (synchrotron, IC, and Bremsstrahlung). JetSeT also computes the spectrum of ν produced in pion decays. For hadronic interactions, both GAMERA and naima follow the parametrization of [104], while JetSeT implements that of [105]. GAMERA, JetSeT, and FLAREMODEL can numerically solve the differential equation describing the particles temporal evolution. In addition, while FLAREMODEL and GAMERA take into account only the radiative cooling processes, JetSeT also provides first- and second-order acceleration process, adiabatic expansion, and the possibility to have decoupled radiative and acceleration regions. The remaining packages offer simplified alternatives: naima allows for a custom particle distribution in input, agnpy offers a constraint of the model parameters based on a simple parametrization of the acceleration and radiation processes, and BHJet provides the analytical solution of the differential equation at equilibrium. Concerning the type of sources that can be modeled, except for naima, all the tools reviewed can be directly applied to describe the emission of jetted AGN. naima, originally designed to model galactic high-energy sources, can be used to model jetted sources only through the manual implementation of the beaming pattern of the radiation. Incidentally, naima was the only package used to model GRB emission. BHJet and JetSeT (through its plugins describing a microquasar or the blob expansion) are the only software considering the extended jet emission. The fit of an MWL SED with a tool ascribing the whole emission to a finite jet region underestimates the emission below a certain frequency in the radio band, as this is typically measured with a large integration region. As an example, one can see how the points below 10 11 Hz in Figure 7 cannot be reproduced assuming synchrotron radiation from a blob, while these points are properly modeled in the microquasar model of JetSeT, in Figure 5. We notice that the problem of integrating the non-thermal emission over a simple geometrical model of the jet has already been treated in the literature [43,106,107,108,109], and it would be an important implementation in the tools. Among the software considered, BHJet is the only one suited to describe non-jetted low-power AGN (see the M81 * example in [90]). None of the tools considered can be applied to describe other classes of extragalactic gamma-ray emitters, such as starburst galaxies [110].
In Table 2, we instead examine the compliance of individual tools with good modern software practices. We notice that naima, JetSeT, agnpy, and FLAREMODEL are the ones simultaneously providing test suites, proper documentation, and distribution via package managers. Though all the packages provide some degree of interface to fitting routines, naima, JetSeT, agnpy, and FLAREMODEL, due to their interface with the python scientific ecosystem, are also the ones better usable in combination with modern python data-analysis tools and indeed provide wrappers to other data-analysis packages. We observe that in many of the software release papers, some degree of validation is provided, the most complete example being the cross-validation performed for agnpy and JetSeT in the release paper of the former [78]. Starting from the same set of model parameters, the SEDs obtained with the different software are compared against each other and against a reference SED from the literature (see Figure 8). The other packages also showed a significant commitment to validation, with BHJet benchmarking the Compton computation against the compPS code and the quantities obtained from the semi-analytical description of the jet evolution against GRMHD results. FLAREMODEL instead validated the synchrotron computations against the symphony software and against the literature. Additionally, the SSC was internally checked, comparing the ray-tracing and the numerical solutions (see Figure 10). Among the tools examined, FLAREMODEL is the only one providing options for multi-threading (at C level). JetSeT is instead the only framework with a specific class representing the model parameters. Having this object-oriented description of the parameters of the physical model allows one to impose physical limits and link them, and ultimately facilitates their wrapping with external packages (implementing their own parameters handling).

4.2. Desiderata for Future Modeling Packages

The number and quality of software reviewed illustrates that the shift in paradigm towards an open-source modeling approach, described in the introduction, is already taking place. We might consider the tools covered by this review as a first generation of open-source modeling tools. Therefore, after having reviewed the available software, we outline in this section what would be the desiderata for the future generation of radiative modeling tools.
  • Testing: For such complex numerical models, test suites are mandatory.
  • Validation: This constitutes the most fundamental point. If a software has to be provided to a large community of astrophysicists, it is essential to provide a numerical validation against other software, or against reference templates. For example, benchmark SEDs, corresponding to a given physical scenario and a given set of model parameters, can be generated and shared as validation templates. This has already been proposed in [78].
  • Interfaceability: As proposed by [111], instead of several different packages, one could envision a library of interfaceable fundamental solvers, specialized, interconnectable, and respecting the single-responsibility principle. An example of combined workflow could be obtaining the particle energy distribution as a result of the time evolution performed with one of these solvers, and then obtaining the corresponding broadband SED using the radiative processes of another solver. This would imply for the tools to be developed on a more fine-grained level, delegating the high-level interface to separate modules. Additionally, these basic blocks should have a minimal data/model interface, to facilitate the exchange of products. For example, particles distributions or radiative fields could use standardized specifications to interface with the classes handling them in the different solvers. Similarly, final products, such as broadband SEDs, could be provided in the form of standardized (e.g., FITS [112] or astropy) tables with quantities (allowing units conversion). Table metadata could be used to store the model parameters (e.g., parameters of the particle distribution, radius of the emission region, magnetic field intensity, etc.). Using standardized inputs and outputs, with a proper interface between the fundamental solvers, will make the validation process smooth and secure. High-level interfaces should finally orchestrate the fundamental solvers, linking the parameters of the basic blocks and facilitating the interface to other frameworks.
  • Data access: as already demonstrated by the tools in this review, by living in the same computational ecosystem, modeling and data-analysis tools can be easily interfaced. The interface to specific analysis software, and eventually to online services providing astrophysical data, broadens the horizon of model fitting, allowing, for example, combination of data from different experiments, or from current and future generations of instruments. Moreover, having access to the instrument-reduced data through the data-analysis packages would allow to perform a more accurate fit of the physical model, for example, folding it with the instrument IRF and computing a Poissonian likelihood of the observed and expected counts (as commonly performed in X-ray and gamma-ray astronomy [113] with simple analytical models, PL, log-parabola, etc.). Due to the current limitations, a χ 2 fit is commonly performed to flux points that are often computed making assumption on the underlying shape of the photon spectrum and never provided with a matrix quantifying their correlations. naima, agnpy, and JetSeT already demonstrate the possibility of forward-fold fit of high-energy astrophysical data through their sherpa and Gammapy wrappers (both sherpa and Gammapy can read the PHA OGIP standard adopted to represent counts and IRF of X-ray [114] and gamma-ray [115] instruments).
  • Accessibility: We remark that making the code available online with a license is not sufficient to make it properly accessible. Care has to be taken by developers to write a proper documentation. The latter does not only serve didactic purposes; for example, it can be easily used in hands-on tutorials, but plays the fundamental role of forming future users or developers.

4.3. Conclusions

In this review, we presented the state-of-the-art of open-source, reproducible, frameworks modeling the radiative processes in extragalactic VHE gamma-ray sources. We highlighted the main features of the presented packages in terms of the physical processes they implement, and in terms of the good software practices they comply with. We consider these packages as a first generation of software paving the road for a future generation of frameworks realizing a fully-reproducible modeling of high-energy astrophysical sources. Before concluding, broadening the scope of our review, we would like to remark the following points concerning physical interpretation:
1
The current packages represent mostly single- or few-developer projects, with a strong commitment and effort from few individuals, who are offering a scientific product to the community, fulfilling the full chain from coding, to documentation and distribution.
2
Despite the aforementioned efforts, the attitude to publish scientific articles based on accessible and reproducible models is not yet standard. Closed-source software, if used in scientific publications, should at minimum be accessible in the form of binaries, to allow the astrophysical community to reproduce and validate what has been published.
3
Even though the presented products reach high-quality standards, none of them cover the entire panoply of physical processes, and a large overlap of features among the products is present. In this sense, the most desirable solution would be an effort to produce a library of interfaceable fundamental solvers, with a strong support from the community, the large collaborations, and the editorial boards.

Author Contributions

C.N. and A.T. conceptualized the paper and wrote the original draft. The authors contributed equally to the review of the relevant literature, to writing and editing the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the European Commission’s Horizon 2020 Program under grant agreement 824064 (ESCAPE—European Science Cluster of Astronomy and Particle Physics ESFRI Research Infrastructures), by the the ERDF under the Spanish Ministerio de Ciencia e Innovación (MICINN, grant PID2019-107847RB-C41), and from the CERCA program of the Generalitat de Catalunya.

Conflicts of Interest

The authors are the main developers of the agnpy (C. Nigro) and JetSeT (A. Tramacere) packages described in the review.

Abbreviations

    The following abbreviations are used in this manuscript:
AGNActive galactic nuclei
GRB       Gamma-ray burst
MWLMulti-wavelength
CTACherenkov Telescope Array
BHBlack hole
IRInfrared
FSRQ       Flat-spectrum radio quasars
PLPower law
SEDSpectral energy distribution
ICInverse Compton
SSCSynchrotron self-Compton
ECExternal Compton
BLRBroad line region
DTDust torus
CMBCosmic microwave background
EBLExtragalactic background light
MCMCMarkov chain Monte Carlo
PWNPulsar wind nebula
ISMInterstellar medium
IRFInstrument response function
BBBBig blue bump
CIContinuous integration
CDContinuous deployment
BHXBBlack hole X-ray binary
GRMHDGeneral-relativistic magnetohydrodynamics

References

  1. Madejski, G.; Sikora, M. Gamma-Ray Observations of Active Galactic Nuclei. Annu. Rev. Astron. Astrophys 2016, 54, 725–760. [Google Scholar] [CrossRef]
  2. Dermer, C.D.; Giebels, B. Active galactic nuclei at gamma-ray energies. C. R. Phys. 2016, 17, 594–616. [Google Scholar] [CrossRef]
  3. Piron, F. Gamma-ray bursts at high and very high energies. C. R. Phys. 2016, 17, 617–631. [Google Scholar] [CrossRef]
  4. Nava, L. Gamma-ray burst at the highest energies. Universe 2021, 7, 503. [Google Scholar] [CrossRef]
  5. Noda, K.; Parsons, R.D. Gamma-Ray Bursts at TeV Energies: Observational Status. Galaxies 2022, 10, 7. [Google Scholar] [CrossRef]
  6. Rybicki, G.B.; Lightman, A.P. Radiative Processes in Astrophysics; Wiley-VCH GmbH: Berlin, Germany, 1986. [Google Scholar]
  7. Dermer, C.D. High Energy Radiation from Black Holes: Gamma Rays, Cosmic Rays, and Neutrinos; Princeton Univerisity Press: Princeton, NJ, USA, 2009. [Google Scholar]
  8. Cerruti, M. Leptonic and Hadronic Radiative Processes in Supermassive-Black-Hole Jets. Galaxies 2020, 8, 72. [Google Scholar] [CrossRef]
  9. Böettcher, M. Progress in Multi-wavelength and Multi-Messenger Observations of Blazars and Theoretical Challenges. Galaxies 2019, 7, 20. [Google Scholar] [CrossRef]
  10. Cerruti, M. The Blazar Hadronic Code Comparison Project. In Proceedings of the 37th International Cosmic Ray Conference (ICRC2021), Berlin, Germany, 12–23 July 2021; p. 979. [Google Scholar]
  11. Lamanna, G. [CTA Consortium] Cherenkov Telescope Array Data Management. In Proceedings of the 34th International Cosmic Ray Conference (ICRC2015), The Hague, The Netherlands, 30 July–6 August 2015; p. 947. [Google Scholar]
  12. Deil, C.; Boisson, C.; Kosack, K.; Perkins, J.; King, J.; Eger, P.; Mayer, M.; Wood, M.; Zabalza, V.; Knödlseder, J.; et al. Open high-level data formats and software for Gamma-ray astronomy. In Proceedings of the 6th International Meeting on High Energy Gamma-ray Astronomy (Gamma2016), Heidelberg, Germany, 11–15 July 2016; Volume 1792, p. 070006. [Google Scholar]
  13. Nigro, C.; Hassan, T.; Olivera-Nieto, L. Evolution of Data Formats in Very-High-Energy Gamma-Ray Astronomy. Universe 2021, 7, 374. [Google Scholar] [CrossRef]
  14. Knödlseder, J.; Mayer, M.; Deil, C.; and Cayrou, J.B.; Owen, E.; Kelley-Hoskins, N.; Lu, C.C.; Buehler, R.; Forest, F.; Louge, T. GammaLib and ctools. A software framework for the analysis of astronomical gamma-ray data. Astron. Astrophys. 2016, 593, A1. [Google Scholar] [CrossRef]
  15. Deil, C.; Zanin, R.; Lefaucheur, J.; Boisson, C.; Khelifi, B.; Terrier, R.; Wood, M.; Mohrmann, L.; Chakraborty, N.; Watson, J.; et al. Gammapy—A prototype for the CTA science tools. In Proceedings of the 35th International Cosmic Ray Conference (ICRC2017), Busan, Korea, 10–20 July 2017; p. 766. [Google Scholar]
  16. Blandford, R.D.; Znajek, R.L. Electromagnetic extraction of energy from Kerr black holes. Mon. Not. R. Astron. Soc. 1977, 179, 433–456. [Google Scholar] [CrossRef]
  17. Blandford, R.D.; Payne, D.G. Hydromagnetic flows from accretion disks and the production of radio jets. Mon. Not. R. Astron. Soc. 1982, 199, 883–903. [Google Scholar] [CrossRef]
  18. Meier, D.L. Black Hole Astrophysics: The Engine Paradigm; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
  19. Cohen, M.H.; Cannon, W.; Purcell, G.H.; Shaffer, D.B.; Broderick, J.J.; Kellermann, K.I.; Jauncey, D.L. The Small-Scale Structure of Radio Galaxies and Quasi-Stellar Sources at 3.8 Centimeters. Astrophys. J. 1971, 170, 207. [Google Scholar] [CrossRef]
  20. Blandford, R.D.; Rees, M.J. Some comments on radiation mechanisms in Lacertids. In Proceedings of the Pittsburgh Conference on BL Lac Objects, Pittsburgh, PA, USA, 24–26 April 1978; pp. 328–341. [Google Scholar]
  21. Ulrich, M.; Maraschi, L.; Urry, M.C. Variability of Active Galactic Nuclei. Annu. Rev. Astron. Astrophys. 1997, 35, 445–502. [Google Scholar] [CrossRef]
  22. Rieger, F. Gamma-Ray Astrophysics in the Time Domain. Galaxies 2019, 7, 28. [Google Scholar] [CrossRef]
  23. Zhang, H. Blazar Optical Polarimetry: Current Progress in Observations and Theories. Galaxies 2019, 7, 85. [Google Scholar] [CrossRef]
  24. Costamante, L.; Cutini, S.; Tosti, G.; Antolini, E.; Tramacere, A. On the origin of gamma-rays in Fermi blazars: Beyond the broad-line region. Mon. Not. R. Astron. Soc. 2018, 477, 4749–4767. [Google Scholar] [CrossRef]
  25. Meyer, M.; Scargle, J.D.; Blandford, R.D. Characterizing the Gamma-Ray Variability of the Brightest Flat Spectrum Radio Quasars Observed with the Fermi LAT. Astrophys. J. 2019, 877, 39. [Google Scholar] [CrossRef]
  26. Kumar, P.; Zhang, B. The physics of gamma-ray bursts & relativistic jets. Phys. Rep. 2015, 561, 1–109. [Google Scholar]
  27. Matthews, J.H.; Bell, A.R.; Blundell, K.M. Particle acceleration in astrophysical jets. New Astron. Rev. 2020, 89, 101543. [Google Scholar] [CrossRef]
  28. Blandford, R.D.; Königl, A. Relativistic jets as compact radio sources. Astrophys. J. 1979, 232, 34–48. [Google Scholar] [CrossRef]
  29. Jones, T.W.; O’Dell, S.L.; Stein, W.A. Physics of Compact Nonthermal Sources. I. Theory of Radiation Processes. Astrophys. J. 1974, 188, 353–368. [Google Scholar] [CrossRef]
  30. Sikora, M.; Begelman, M.C.; Rees, M.J. Comptonization of Diffuse Ambient Radiation by a Relativistic Jet: The Source of Gamma Rays from Blazars? Astrophys. J. 1994, 421, 153. [Google Scholar] [CrossRef]
  31. Dermer, C.D.; Schlickeiser, R. Transformation Properties of External Radiation Fields, Energy-Loss Rates and Scattered Spectra, and a Model for Blazar Variability. Astrophys. J. 2002, 575, 667–686. [Google Scholar] [CrossRef]
  32. Sikora, M.; Błażejowski, M.; Moderski, R.; Madejski, G.M. On the Nature of MeV Blazars. Astrophys. J. 2002, 577, 78–84. [Google Scholar] [CrossRef]
  33. Tavecchio, F.; Ghisellini, G. Spine-sheath layer radiative interplay in subparsec-scale jets and the TeV emission from M87. Mon. Not. R. Astron. Soc. 2008, 385, L98–L102. [Google Scholar] [CrossRef]
  34. MacDonald, N.R.; Marscher, A.P.; Jorstad, S.G.; Joshi, M. Through the Ring of Fire: Gamma-Ray Variability in Blazars by a Moving Plasmoid Passing a Local Source of Seed Photons. Astrophys. J. 2015, 804, 111. [Google Scholar] [CrossRef]
  35. Tavecchio, F.; Maraschi, L.; Sambruna, R.M.; Urry, C.M. The X-ray Jet of PKS 0637-752: Inverse Compton Radiation from the Cosmic Microwave Background? Astrophys. J. 2000, 544, L23–L26. [Google Scholar] [CrossRef]
  36. Böttcher, M.; Reimer, A.; Sweeney, K.; Prakash, A. Leptonic and Hadronic Modeling of Fermi-detected Blazars. Astrophys. J. 2013, 768, 54. [Google Scholar] [CrossRef]
  37. Cooray, A. Extragalactic background light measurements and applications. R. Soc. Open Sci. 2016, 3, 150555. [Google Scholar] [CrossRef]
  38. Abdalla, H. [H.E.S.S. Collaboration] Revealing x-ray and gamma ray temporal and spectral similarities in the GRB 190829A afterglow. Science 2021, 372, 1081–1085. [Google Scholar]
  39. Acciari, V.A. [MAGIC Collaboration] Observation of inverse Compton emission from a long γ-ray burst. Nature 2019, 575, 459–463. [Google Scholar]
  40. Razzaque, S. A Leptonic-Hadronic Model for the Afterglow of Gamma-ray Burst 090510. Astrophys. J. 2010, 724, L109–L112. [Google Scholar] [CrossRef]
  41. Prince, R.; Agarwal, A.; Gupta, N.; Majumdar, P.; Czerny, B.; Cellone, S.A.; Andruchow, I. Multiwavelength analysis and modeling of OJ 287 during 2017–2020. Astron. Astrophys. 2021, 654, A38. [Google Scholar] [CrossRef]
  42. Abhir, J.; Prince, R.; Joseph, J.; Bose, D.; Gupta, N. Study of Temporal and Spectral variability for Blazar PKS 1830-211 with Multiwavelength Data. Astrophys. J. 2021, 915, 26. [Google Scholar] [CrossRef]
  43. Tramacere, A.; Sliusar, V.; Walter, R.; Jurysek, J.; Balbo, M. Radio-γ-ray response in blazars as a signature of adiabatic blob expansion. Astron. Astrophys. 2022, 658, A173. [Google Scholar] [CrossRef]
  44. Zabalza, V. Naima: A Python package for inference of relativistic particle energy distributions from observed nonthermal spectra. In Proceedings of the 34th International Cosmic Ray Conference (ICRC2015), The Hague, The Netherlands, 30 July–6 August 2015; p. 992. [Google Scholar]
  45. Harris, C.R.; Millman, K.J.; van der Walt, S.J.; Gommers, R.; Virtanen, P.; Cournapeau, D.; Wieser, E.; Taylor, J.; Berg, S.; Smith, N.J.; et al. Array programming with NumPy. Nature 2020, 585, 357–362. [Google Scholar] [CrossRef]
  46. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [CrossRef] [PubMed]
  47. Robitaille, T.P. [Astropy Collaboration] Astropy: A community Python package for astronomy. Astron. Astrophys. 2013, 558, A33. [Google Scholar]
  48. Price-Whelan, A.M. [Astropy Collaboration] The Astropy Project: Building an Open-science Project and Status of the v2.0 Core Package. Astrophys. J. 2018, 156, 123. [Google Scholar]
  49. Astropy Collaboration. Affiliated Packages. Available online: https://www.astropy.org/affiliated/#affiliated-packages (accessed on 7 May 2022).
  50. Domínguez, A.; Primack, J.R.; Rosario, D.J.; Prada, F.; Gilmore, R.C.; Faber, S.M.; Koo, D.C.; Somerville, R.S.; Pérez-Torres, M.A.; Pérez-González, P.; et al. Extragalactic background light inferred from AEGIS galaxy-SED-type fractions. Mon. Not. R. Astron. Soc. 2011, 410, 2556–2578. [Google Scholar] [CrossRef]
  51. Freeman, P.; Doe, S.; Siemiginowska, A. Sherpa: A mission-independent data analysis application. In Proceedings of the Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, Astronomical Data Analysis Conference, San Diego, CA, USA, 2–3 August 2001; Volume 4477, pp. 76–87. [Google Scholar]
  52. Doe, S.; Nguyen, D.; Stawarz, C.; Refsdal, B.; Siemiginowska, A.; Burke, D.; Evans, I.; Evans, J.; McDowell, J.; Houck, J.; et al. Developing Sherpa with Python. In Proceedings of the Astronomical Data Analysis Software and Systems (ADASS) XVI, Tucson, AZ, USA, 15–18 October 2006; Volume 376, p. 543. [Google Scholar]
  53. Foreman-Mackey, D.; Hogg, D.W.; Lang, D.; Goodman, J. Emcee: The MCMC Hammer. Publ. Astron. Soc. Pac. 2013, 125, 306. [Google Scholar] [CrossRef]
  54. Acciari, V.A. [MAGIC Collaboration] Investigation of the correlation patterns and the Compton dominance variability of Mrk 421 in 2017. Astron. Astrophys. 2021, 655, A89. [Google Scholar]
  55. Romoli, C. GRB Modelling Using NAIMA Toolbox. Available online: https://github.com/Carlor87/GRBmodelling (accessed on 7 May 2022).
  56. naima. GitHub Repository. Available online: https://github.com/zblz/naima (accessed on 7 May 2022).
  57. naima. Online Documentation. Available online: https://naima.readthedocs.io/en/latest/ (accessed on 7 May 2022).
  58. Hahn, J. GAMERA—A Modular Framework For Spectral Modeling In VHE Astronomy. In Proceedings of the 34th International Cosmic Ray Conference (ICRC2015), The Hague, The Netherlands, 30 July–6 August 2015; p. 917. [Google Scholar]
  59. Torres, D.F.; Cillis, A.; Martín, J.; de Oña Wilhelmi, E. Time-dependent modeling of TeV-detected, young pulsar wind nebulae. J. High Energy Astrophys. 2014, 1, 31–62. [Google Scholar] [CrossRef]
  60. Matthews, J.H.; Taylor, A.M. Particle acceleration in radio galaxies with flickering jets: GeV electrons to ultrahigh energy cosmic rays. Mon. Not. R. Astron. Soc. 2021, 503, 5948–5964. [Google Scholar] [CrossRef]
  61. GAMERA. GitHub Repository. Available online: https://github.com/libgamera/GAMERA (accessed on 7 May 2022).
  62. GAMERA. Online Documentation. Available online: https://libgamera.github.io/GAMERA/docs/main_page.html (accessed on 7 May 2022).
  63. Tramacere, A.; Giommi, P.; Perri, M.; Verrecchia, F.; Tosti, G. Swift observations of the very intense flaring activity of Mrk 421 during 2006. I. Phenomenological picture of electron acceleration and predictions for MeV/GeV emission. Astron. Astrophys. 2009, 501, 879–898. [Google Scholar] [CrossRef]
  64. Tramacere, A.; Massaro, E.; Taylor, A.M. Stochastic Acceleration and the Evolution of Spectral Distributions in Synchro-Self-Compton Sources: A Self-consistent Modeling of Blazars’ Flares. Astrophys. J. 2011, 739, 66. [Google Scholar] [CrossRef]
  65. Tramacere, A. JetSeT: Numerical modeling and SED fitting tool for relativistic jets. Astrophys. Source Code Libr. 2020, ascl:2009.001. Available online: https://ascl.net/2009.001 (accessed on 7 May 2022).
  66. Franceschini, A.; Rodighiero, G.; Vaccari, M. Extragalactic optical-infrared background radiation, its time evolution and the cosmic photon-photon opacity. Astron. Astrophys. 2008, 438, 837–852. [Google Scholar] [CrossRef]
  67. Finke, J.D.; Razzaque, S.; Dermer, C.D. Modeling the Extragalactic Background Light from Stars and Dust. Astrophys. J. 2010, 712, 238–249. [Google Scholar] [CrossRef]
  68. Dembinski, H.; Ongmongkolkul, P.; Deil, C.; Schreiner, H.; Feickert, M.; Andrew; Burr, C.; Watson, J.; Rost, F.; Pearce, A.; et al. scikit-hep/iminuit. Zenodo 2022. Available online: https://doi.org/10.5281/zenodo.3949207 (accessed on 7 May 2022).
  69. Ramaty, R. Energetic particles in solar flares. In Proceedings of the Workshop Particle Acceleration Mechanisms in Astrophysics, La Jolla, CA, USA, 3–5 January 1979; pp. 135–154. [Google Scholar]
  70. Becker, P.A.; Le, T.; Dermer, C.D. Time-dependent Stochastic Particle Acceleration in Astrophysical Plasmas: Exact Solutions Including Momentum-dependent Escape. Astrophys. J. 2006, 647, 539–551. [Google Scholar] [CrossRef]
  71. Chang, J.S.; Cooper, G. A Practical Difference Scheme for Fokker-Planck Equations. J. Comput. Phys. 1970, 6, 1–16. [Google Scholar] [CrossRef]
  72. Park, B.T.; Petrosian, V. Fokker-Planck Equations of Stochastic Acceleration: A Study of Numerical Methods. Astrophys. J. Suppl. Ser. 1996, 103, 255. [Google Scholar] [CrossRef]
  73. Rodi, J.; Tramacere, A.; Onori, F.; Bruni, G.; Sánchez-Fernández, C.; Fiocchi, M.; Natalucci, L.; Ubertini, P. A Broadband View on Microquasar MAXI J1820+070 during the 2018 Outburst. Astrophys. J. 2021, 910, 21. [Google Scholar] [CrossRef]
  74. JetSeT. GitHub Repository. Available online: https://github.com/andreatramacere/jetset (accessed on 7 May 2022).
  75. JetSeT. Online Documentation. Available online: https://jetset.readthedocs.io/en/latest/ (accessed on 7 May 2022).
  76. JetSeT. Software Releases. Available online: https://github.com/andreatramacere/jetset/releases (accessed on 7 May 2022).
  77. JetSeT. Installer Tool. Available online: https://github.com/andreatramacere/jetset-installer (accessed on 7 May 2022).
  78. Nigro, C.; Sitarek, J.; Gliwny, P.; Sanchez, D.; Tramacere, A.; Craig, M. agnpy: An open-source python package modeling the radiative processes of jetted active galactic nuclei. Astron. Astrophys. 2022, 660, A18. [Google Scholar] [CrossRef]
  79. Finke, J.D.; Dermer, C.D.; Böttcher, M. Synchrotron Self-Compton Analysis of TeV X-Ray-Selected BL Lacertae Objects. Astrophys. J. 2008, 686, 181–194. [Google Scholar] [CrossRef]
  80. Dermer, C.D.; Finke, J.D.; Krug, H.; Böttcher, M. Gamma-Ray Studies of Blazars: Synchro-Compton Analysis of Flat Spectrum Radio Quasars. Astrophys. J. 2009, 692, 32–46. [Google Scholar] [CrossRef]
  81. Finke, J.D. External Compton Scattering in Blazar Jets and the Location of the Gamma-Ray Emitting Region. Astrophys. J. 2016, 830, 94. [Google Scholar] [CrossRef]
  82. Acciari, V.A. [MAGIC Collaboration] VHE gamma-ray detection of FSRQ QSO B1420+326 and modeling of its enhanced broadband state in 2020. Astron. Astrophys. 2021, 647, A163. [Google Scholar]
  83. Acciari, V.A. [MAGIC Collaboration] Multiwavelength study of the gravitationally lensed blazar QSO B0218+357 between 2016 and 2020. Mon. Not. R. Astron. Soc. 2022, 510, 2344–2362. [Google Scholar] [CrossRef]
  84. Albert, A. [HAWC Collaboration] Long-term Spectra of the Blazars Mrk 421 and Mrk 501 at TeV Energies Seen by HAWC. Astrophys. J. 2022, 929, 125. [Google Scholar] [CrossRef]
  85. agnpy. GitHub Repository. Available online: https://github.com/cosimoNigro/agnpy (accessed on 7 May 2022).
  86. agnpy. Online Documentation. Available online: https://agnpy.readthedocs.io/en/latest/ (accessed on 7 May 2022).
  87. Abdo, A.A. [Fermi-LAT and MAGIC Collaborations] Fermi Large Area Telescope Observations of Markarian 421: The Missing Piece of its Spectral Energy Distribution. Astrophys. J. 2011, 736, 131. [Google Scholar] [CrossRef]
  88. Markoff, S.; Falcke, H.; Fender, R. A jet model for the broadband spectrum of XTE J1118+480. Synchrotron emission from radio to X-rays in the Low/Hard spectral state. Astron. Astrophys. 2001, 372, L25–L28. [Google Scholar] [CrossRef]
  89. Markoff, S.; Nowak, M.A.; Wilms, J. Going with the Flow: Can the Base of Jets Subsume the Role of Compact Accretion Disk Coronae? Astrophys. J. 2005, 635, 1203–1216. [Google Scholar] [CrossRef]
  90. Lucchini, M.; Ceccobello, C.; Markoff, S.; Kini, Y.; Chhotray, A.; Connors, R.M.T.; Crumley, P.; Falcke, H.; Kantzas, D.; Maitra, D. Bhjet: A public multi-zone, steady state jet + thermal corona spectral model. arXiv 2021, arXiv:2108.12011. [Google Scholar]
  91. Falcke, H.; Biermann, P.L. The jet-disk symbiosis. I. Radio to X-ray emission models for quasars. Astron. Astrophys. 1995, 293, 665–682. [Google Scholar]
  92. Falcke, H.; Malkan, M.A.; Biermann, P.L. The jet-disk symbiosis. II. Interpreting the radio/UV correlations in quasars. Astron. Astrophys. 1995, 298, 375. [Google Scholar]
  93. Falcke, H.; Biermann, P.L. The jet/disk symbiosis. III. What the radio cores in GRS 1915+105, NGC 4258, M 81 and SGR A* tell us about accreting black holes. Astron. Astrophys. 1999, 342, 49–56. [Google Scholar]
  94. Arnaud, K.A. XSPEC: The First Ten Years. In Proceedings of the Astronomical Data Analysis Software and Systems (ADASS) V, Tucson, AZ, USA, 22–25 October 1995; Volume 101, p. 17. [Google Scholar]
  95. National Aeronautics and Space Administration (NASA); High Energy Astrophysics Science Archive Research Center (HEASARC). compPS: Comptonization, Poutanen & Svensson. Available online: https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/XSmodelCompps.html (accessed on 7 May 2022).
  96. BHJet. GitHub Repository. Available online: https://github.com/matteolucchini1/BHJet (accessed on 7 May 2022).
  97. Dallilar, Y.; von Fellenberg, S.; Bauboeck, M.; de Zeeuw, P.T.; Drescher, A.; Eisenhauer, F.; Genzel, R.; Gillessen, S.; Habibi, M.; Ott, T. Flaremodel: An open-source Python package for one-zone numerical modeling of synchrotron sources. Astron. Astrophys. 2022, 658, A111. [Google Scholar] [CrossRef]
  98. Newville, M.; Otten, R.; Nelson, A.; Ingargiola, A.; Stensitzki, T.; Allan, D.; Fox, A.; Carter, F.; Michał; Osborn, R. lmfit. Zenodo 2022. Available online: https://doi.org/10.5281/zenodo.5570790 (accessed on 7 May 2022).
  99. Pandya, A.; Zhang, Z.; Chandra, M.; Gammie, C.F. Polarized Synchrotron Emissivities and Absorptivities for Relativistic Thermal, Power-law, and Kappa Distribution Functions. Astrophys. J. 2016, 822, 34. [Google Scholar] [CrossRef]
  100. Band, D.L.; Grindlay, J.E. The synchrotron-self-Compton process in spherical geometries. I—Theoretical framework. Astrophys. J. 1985, 298, 128–146. [Google Scholar] [CrossRef]
  101. Abuter, R. [GRAVITY Collaboration] Constraining particle acceleration in Sgr A* with simultaneous GRAVITY, Spitzer, NuSTAR, and Chandra observations. Astron. Astrophys. 2021, 654, A22. [Google Scholar]
  102. FLAREMODEL. GitHub Repository. Available online: https://github.com/ydallilar/flaremodel (accessed on 7 May 2022).
  103. FLAREMODEL. Online Documentation. Available online: https://flaremodel.readthedocs.io/en/latest/index.html (accessed on 7 May 2022).
  104. Kafexhiu, E.; Aharonian, F.; Taylor, A.M.; Vila, G.S. Parametrization of gamma-ray production cross sections for p p interactions in a broad proton energy range from the kinematic threshold to PeV energies. Phys. Rev. D 2014, 90, 123014. [Google Scholar] [CrossRef]
  105. Kelner, S.; Aharonian, F.; Bugayov, V. Energy spectra of gamma rays, electrons, and neutrinos produced at proton-proton interactions in the very high energy regime. Phys. Rev. D 2006, 74, 034018. [Google Scholar] [CrossRef]
  106. Potter, W.J.; Cotter, G. Synchrotron and inverse-Compton emission from blazar jets—I. A uniform conical jet model. Mon. Not. R. Astron. Soc. 2012, 423, 756–765. [Google Scholar] [CrossRef]
  107. Potter, W.J.; Cotter, G. Synchrotron and inverse-Compton emission from blazar jets—II. An accelerating jet model with a geometry set by observations of M87. Mon. Not. R. Astron. Soc. 2013, 429, 1189–1205. [Google Scholar] [CrossRef]
  108. Potter, W.J.; Cotter, G. Synchrotron and inverse-Compton emission from blazar jets—III. Compton-dominant blazars. Mon. Not. R. Astron. Soc. 2013, 431, 1840–1852. [Google Scholar] [CrossRef]
  109. Potter, W.J.; Cotter, G. Synchrotron and inverse-Compton emission from blazar jets—IV. BL Lac type blazars and the physical basis for the blazar sequence. Mon. Not. R. Astron. Soc. 2013, 436, 304–314. [Google Scholar] [CrossRef]
  110. Ohm, S. Starburst galaxies as seen by gamma-ray telescopes. C. R. Phys. 2016, 17, 585–593. [Google Scholar] [CrossRef]
  111. Portegies Zwart, S. Computational astrophysics for the future. Science 2018, 361, 979–980. [Google Scholar] [CrossRef] [PubMed]
  112. Wells, D.C.; Greisen, E.W.; Harten, R.H. FITS—A Flexible Image Transport System. Astron. Astrophys. Suppl. 1981, 44, 363. [Google Scholar]
  113. Piron, F.; Djannati-Atai, A.; Punch, M.; Tavernet, J.P.; Barrau, A.; Bazer-Bachi, R.; Chounet, L.M.; Debiais, G.; Degrange, B.; Dezalay, J.P.; et al. Temporal and spectral gamma-ray properties of Mkn 421 above 250 GeV from CAT observations between 1996 and 2000. Astron. Astrophys. 2001, 374, 895–906. [Google Scholar] [CrossRef]
  114. National Aeronautics and Space Administration (NASA); High Energy Astrophysics Science Archive Research Center (HEASARC). The OGIP standard PHA file format. Available online: https://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/spectra/ogip_92_007/node5.html (accessed on 7 May 2022).
  115. Data Formats for Gamma-Ray Astronomy. 1D Counts Spectra. Available online: https://gamma-astro-data-formats.readthedocs.io/en/latest/spectra/ogip/index.html (accessed on 7 May 2022).
Figure 1. Synchrotron (orange) and SSC (blue) models for the emission GRB 190829A computed with naima. The shaded area represents the 68 % confidence interval obtained from the MCMC fitting. Flux measurements from Swift−XRT (black band), Fermi−LAT (green upper limit), and H.E.S.S. (red band) are also displayed. Figure from [38], reproduced with permission of The American Association for the Advancement of Science.
Figure 1. Synchrotron (orange) and SSC (blue) models for the emission GRB 190829A computed with naima. The shaded area represents the 68 % confidence interval obtained from the MCMC fitting. Flux measurements from Swift−XRT (black band), Fermi−LAT (green upper limit), and H.E.S.S. (red band) are also displayed. Figure from [38], reproduced with permission of The American Association for the Advancement of Science.
Galaxies 10 00085 g001
Figure 2. Models for the broadband emission from radio to gamma rays of OJ 287, for two datasets observed during the years 2017–2020. The dotted-dashed and dashed line represent synchrotron and SSC emission computed with GAMERA; the different colors represent different times of the electrons distribution evolution. Optical/UV, X-ray, and gamma-ray flux measurements are displayed with red, blue, and magenta markers, respectively. Figure from [41], reproduced with permission of Astronomy and Astrophysics.
Figure 2. Models for the broadband emission from radio to gamma rays of OJ 287, for two datasets observed during the years 2017–2020. The dotted-dashed and dashed line represent synchrotron and SSC emission computed with GAMERA; the different colors represent different times of the electrons distribution evolution. Optical/UV, X-ray, and gamma-ray flux measurements are displayed with red, blue, and magenta markers, respectively. Figure from [41], reproduced with permission of Astronomy and Astrophysics.
Galaxies 10 00085 g002
Figure 3. MWL emission of PKS 1830-211 in different flux states, modeled with GAMERA. The high-energy component of the FSRQ emission is described with a combination of SSC and EC scattering on anisotropic photon fields: disk (green line) and BLR (blue line), dominating. Figure from [42] reproduced with permission of the authors and IOPPublishing.
Figure 3. MWL emission of PKS 1830-211 in different flux states, modeled with GAMERA. The high-energy component of the FSRQ emission is described with a combination of SSC and EC scattering on anisotropic photon fields: disk (green line) and BLR (blue line), dominating. Figure from [42] reproduced with permission of the authors and IOPPublishing.
Galaxies 10 00085 g003
Figure 4. Top panel: time-resolved SEDs, computed with JetSeT, for a flaring stage (red lines) followed by a pre-expanding stage (blue lines) and an adiabatic expansion stage (orange lines) with β exp = 0.1 . The three bottom panels show the corresponding light curves at high energies, and in the radio at 5 and 40 GHz . The red dashed lines mark the light-curve segment belonging to the flaring stage, the orange vertical dashed lines mark the beginning of the expansion, and the orange line marks the expansion stage. Adapted from [43].
Figure 4. Top panel: time-resolved SEDs, computed with JetSeT, for a flaring stage (red lines) followed by a pre-expanding stage (blue lines) and an adiabatic expansion stage (orange lines) with β exp = 0.1 . The three bottom panels show the corresponding light curves at high energies, and in the radio at 5 and 40 GHz . The red dashed lines mark the light-curve segment belonging to the flaring stage, the orange vertical dashed lines mark the beginning of the expansion, and the orange line marks the expansion stage. Adapted from [43].
Galaxies 10 00085 g004
Figure 5. Fitting MWL SEDs with JetSeT. Top panel: Best fit of the Mrk 501 SED considering synchrotron and SSC emission, the galaxy template, and the absorption on the EBL. The gray band illustrates the MCMC model posterior samples. Figure adapted from the JetSeT documentation. Bottom panel: Best-fit model of the MWL emission of the microquasars MAXI J1820+070. The dashed lines represent the individual components; the red line, their sum. Figure from [73].
Figure 5. Fitting MWL SEDs with JetSeT. Top panel: Best fit of the Mrk 501 SED considering synchrotron and SSC emission, the galaxy template, and the absorption on the EBL. The gray band illustrates the MCMC model posterior samples. Figure adapted from the JetSeT documentation. Bottom panel: Best-fit model of the MWL emission of the microquasars MAXI J1820+070. The dashed lines represent the individual components; the red line, their sum. Figure from [73].
Galaxies 10 00085 g005
Figure 6. γ γ opacity for absorption on the BLR photon field computed with agnpy. Left panel: Validation of agnpy result against the literature for a small viewing angle ( θ s = 0 , blazar case). Right panel: Internal cross-check approximating, for large distances from the BH, the BLR as a monochromatic point source at the BH position. A non-null viewing angle is considered in this case ( θ s = 20 , radio-loud AGN case). Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Figure 6. γ γ opacity for absorption on the BLR photon field computed with agnpy. Left panel: Validation of agnpy result against the literature for a small viewing angle ( θ s = 0 , blazar case). Right panel: Internal cross-check approximating, for large distances from the BH, the BLR as a monochromatic point source at the BH position. A non-null viewing angle is considered in this case ( θ s = 20 , radio-loud AGN case). Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Galaxies 10 00085 g006
Figure 7. Fit of the MWL SED of Mrk 421 observed in [87], obtained wrapping the radiative provided by agnpy within the classes for flux points handling and model fitting in Gammapy. Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Figure 7. Fit of the MWL SED of Mrk 421 observed in [87], obtained wrapping the radiative provided by agnpy within the classes for flux points handling and model fitting in Gammapy. Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Galaxies 10 00085 g007
Figure 8. An example of validation: synchrotron and SSC SEDs generated with the same model parameters using agnpy and JetSeT. Both spectra are compared against a result from the literature [7]. Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Figure 8. An example of validation: synchrotron and SSC SEDs generated with the same model parameters using agnpy and JetSeT. Both spectra are compared against a result from the literature [7]. Figure from [78], reproduced with permission of Astronomy and Astrophysics.
Galaxies 10 00085 g008
Figure 9. Electron distributions (left panel) and corresponding MWL SED (right panel) computed with BHJet at several distances along the jet axis of a FSRQ. The colored lines represent particles distributions or SEDs at different heights. The black line in the right plot represents the sum of the emission at all heights. Figure from [90], reproduced with permission of the authors.
Figure 9. Electron distributions (left panel) and corresponding MWL SED (right panel) computed with BHJet at several distances along the jet axis of a FSRQ. The colored lines represent particles distributions or SEDs at different heights. The black line in the right plot represents the sum of the emission at all heights. Figure from [90], reproduced with permission of the authors.
Galaxies 10 00085 g009
Figure 10. SSC emission computed with FLAREMODEL from a uniform emission region. SEDs with dashed line are obtained using the numerical ray-tracing approach, and solid ones are obtained with the numerical integration considering a uniform particle distribution. Figure from [97].
Figure 10. SSC emission computed with FLAREMODEL from a uniform emission region. SEDs with dashed line are obtained using the numerical ray-tracing approach, and solid ones are obtained with the numerical integration considering a uniform particle distribution. Figure from [97].
Galaxies 10 00085 g010
Table 1. Physical processes implemented in the software reviewed.
Table 1. Physical processes implemented in the software reviewed.
SoftwareSourcesApproachParticlesProcessesTemp. ev.Emission Region
ThermalNon-ThermalLeptonicHadronicAbsorption
e ± pSynch.SSCECBrems.pp γ γ
naima PWN, SNR, GRBnumerical✓(CMB)✓  ✓(EBL)not specified
GAMERA PWN, SNR, AGNnumerical✓  ✓  ✓  * multiple uniform
microquasars (only cool.)
JetSeT jetted AGN, PWNnumerical✓  ✓(EBL)multiple uniform
microquasars, SNR (acc. + cool.)acc. + rad.
agnpy jetted AGNnumerical✓  * ✓  * single uniform
BHJet binaries, AGNnumericalwhole jet
semi-analytical
FLAREMODEL synch. sourcesnumericalsingle
ray-tracing (only cool.)radial dep.
pp interaction: computing only gammas from π 0 decay. pp interaction: computation of radiation from secondaries of charged pions (pairs evolved in time to equilibrium) and of ν spectra. Full angular dependency of the Compton cross section: anisotropic electrons and anisotropic photon fields. * Full angular dependency of the Compton or γ γ cross sections: anisotropic photon fields.
Table 2. Compliance of software reviewed with modern good software practices.
Table 2. Compliance of software reviewed with modern good software practices.
SoftwareLanguageLicenseDocumentationInstallationCI or Test UnitsCD
naima python BSD-3 1 Read the Docspip, condayesno
GAMERA C++, pythonnot specifiedGitHub Pagesmake fileminimalno
JetSeT C, pythonBSD-3Read the Docspip, condayesyes
agnpy python BSD-3Read the Docspip, condayesyes
BHJet C++ MIT 2 nomake filenono
FLAREMODEL C, pythonBSD-3Read The Docs pip yesno
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nigro, C.; Tramacere, A. Open-Source Radiative Modeling Tools for Extragalactic VHE Gamma-ray Sources. Galaxies 2022, 10, 85. https://doi.org/10.3390/galaxies10040085

AMA Style

Nigro C, Tramacere A. Open-Source Radiative Modeling Tools for Extragalactic VHE Gamma-ray Sources. Galaxies. 2022; 10(4):85. https://doi.org/10.3390/galaxies10040085

Chicago/Turabian Style

Nigro, Cosimo, and Andrea Tramacere. 2022. "Open-Source Radiative Modeling Tools for Extragalactic VHE Gamma-ray Sources" Galaxies 10, no. 4: 85. https://doi.org/10.3390/galaxies10040085

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop