niebla: an open-source code for modelling the extragalactic background light

Sara Porras-Bedmar, Manuel Meyer · 2025

Read niebla: an open-source code for modelling the extragalactic background light by Sara Porras-Bedmar, Manuel Meyer (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-20664.txt.

Introduction

Sara Porras-Bedmar and Manuel Meyer present niebla, an open source computer code. The code models the extragalactic background light, known as the EBL. That light is a faint glow spread across space. It spans optical light through far infrared light. Direct measurement is hard because foreground glow is much stronger.

Niebla builds the optical part mainly from starlight. It tracks how one group of stars changes with redshift. Redshift here means distance and age in an expanding universe. Users can add more sources, such as stripped stars. Dust then absorbs optical light and sends it out again. The authors give three sample models that fit observed data. They also test the code on the blazar Markarian 501. Results show the test is sensitive to infrared light levels. That helps future work sort dust models and pin down the EBL.

Catalog record

CREATORSara Porras-Bedmar, Manuel Meyer
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE55 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-20664

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

niebla: an open-source code for modelling the extragalactic background light Sara Porras-Bedmar, Manuel Meyer Abstract Extragalactic very high-energy (VHE; E > 100 E>100\, GeV) gamma rays suffer absorption in interactions with photons of the Extragalactic Background Light (EBL). The EBL is an isotropic diffuse photon field from optical to infrared wavelengths, which is difficult to measure directly due to strong foreground emission. We present niebla , the first open-source code to compute the EBL using a forward-folding approach that accepts fully customizable inputs. This software enables a detailed modelling of the influence of EBL opacities on VHE observations and facilitates the distinction between different dust reemission models. The code models the optical background primarily from stellar emission, by evolving the spectrum of a single stellar population as a function of redshift, considering mean metallicity evolution and star formation rate density. Additional sources to the EBL can be provided by the user. The code already includes optional contributions from, e.g., stripped stars, intra-halo light, or the decay of axion dark matter. The optical emissivity is then absorbed by interstellar dust and reemitted in the infrared regime. We provide multiple prescriptions to model this process, using spectral dust templates or a combination of blackbodies. We provide three EBL models calculated with different dust reemission prescriptions, which have been fitted to various observational data sets. In addition, we showcase the versatility of our model through a simulated observation of the blazar Markarian 501 in a high-flux state with the Large High Altitude Air Shower Observatory array. We find that the simulated VHE spectrum is highly sensitive to the EBL opacity coming from the infrared. Our model will therefore allow the community to distinguish between different dust reemission models and constrain EBL parameters with future observations. I Introduction The Extragalactic Background Light (EBL) is a homogeneous and isotropic radiation field from ultraviolet (UV) to infrared wavelengths [ 33 ] , consisting of the cosmic optical and infrared backgrounds (COB and CIB, respectively). The EBL originates from the integrated emission of various astrophysical sources and sensitively depends on their cosmic evolution and properties [ 36 , 18 , 20 ] . Measuring the EBL intensity directly is non-trivial due to strong foreground contamination. Many of these foregrounds originate within the Solar system, such as Earth’s atmosphere or Zodiacal Light, i.e., sunlight absorbed and reemitted by interplanetary dust [ 32 ] . Other foregrounds appear at a Galactic scale, like interstellar gas. Various methodologies have been developed to subtract the contributions of these foregrounds. However, with the exception of Postman et al. 2024 , all current direct measurements of the EBL should be regarded as upper limits. Lower limits on the EBL intensity can be derived through a complementary approach using the luminosity measurements of resolved galaxies. Extrapolating these observations to the entire galaxy population provides strict lower bounds to the EBL intensity, as this method misses truly diffuse components. The EBL is also relevant for very high-energy (VHE; E\gtrsim 100\, GeV) astrophysics. When TeV photons propagate through the intergalactic medium, they can interact with EBL photons, leading to e^{-}e^{+} pair production [ 47 , 27 , 26 ] , which has been observed in numerous VHE systems [ 2 , 28 , e.g.,] . Pair production attenuates the flux of extragalactic VHE sources, with the effect becoming more pronounced at higher redshifts owing to the increased propagation distance. An accurate characterization of the EBL is therefore necessary to infer the intrinsic spectra of distant sources from observations. However, the uncertainties in EBL measurements and the variety of modelling methods have resulted in a range of EBL models with differing spectral shapes. A compilation of the most recent EBL models can be found in Meyer 2022 . Most of the observed extragalactic VHE sources are blazars, a subclass of active galactic nuclei (AGN), that harbor a relativistic jets closely oriented to the line of sight to Earth. The general approach by the gamma-ray community in the analysis of blazars is to use fixed EBL models (sometimes allowing for an overall renormalization) and compare the results for different models [ 30 , 9 , e.g.,] . Another method is to simplify the EBL spectral shape to a sum of phenomenological functions [ 44 , 11 , 28 , e.g.,] . In light of the increasing amount of data from current gamma-ray telescopes and the forthcoming Cherenkov Telescope Array Observatory (CTAO) [ 14 ] , it is high time to provide the community with an open-source code that allows one to constrain the cosmological and physical parameters underlying the EBL. There are several methodologies to model the EBL. In this work, we focus on the forward folding approach, initially developed by Kneiske et al. 2002 , and subsequently used in other works [ 21 , 52 , 20 ] . This approach calculates the EBL intensity from first principles by modelling the sources of radiation, using their emissivities and evolution through time. Previously, we introduced a framework for modelling the COB [ 50 ] , which we now extend to the CIB and thus the full EBL. Our work is accompanied by the release of the modeling software niebla , along with example use cases. 1 1 1 https://github.com/saraporrasbedmar/niebla niebla means “fog” in Spanish which, similarly to the EBL, blocks distant observations. The code incorporates various sources contributing to the COB, such as stellar populations, intra-halo light (IHL) and stripped stars. The radiation from these sources is then absorbed by dust and reemitted in the infrared regime. We also include a possible additional contribution to the EBL from the decay of axion-like dark matter into photons. Our code includes several common parametrizations for these processes but also accepts custom inputs provided by the user. This work is structured as follows: in Section II we introduce the theoretical background to the forward modelling of the EBL, detailing the sources that contribute to its intensity. In Section III we introduce the observational data that we use, and in Section IV we describe the fitting procedures we perform and their results. A description of the functionality of niebla is provided in Section V . In Section VI we present a use case for our EBL models. We simulate a VHE observation with the Large High Altitude Air Shower Observatory (LHAASO) of Markarian 501 assuming spectral parameters as inferred from the 1997 flare observed with the HEGRA Cherenkov telescopes [ 3 , 4 ] . Using this simulation, we demonstrate how it is possible to constrain cosmic dust properties using the different prescriptions of dust reemission included in our code. Finally, in Section VII , we provide our conclusions. II Theoretical background The EBL traces the integrated light produced over the course of cosmic history. Its intensity can be calculated through \nu I_{\nu}(\lambda,z)=\frac{c^{2}}{4\pi\lambda}\int\limits_{z}^{z_{\mathrm{max}}}\varepsilon_{\nu^{\prime}}\left(\lambda\frac{1+z}{1+z^{\prime}},z^{\prime}\right)\bigg|\frac{\mathrm{d}t}{\mathrm{d}z^{\prime}}\bigg|\mathrm{d}z^{\prime}, (1) with \hskip 8.5359pt\frac{\mathrm{d}t}{\mathrm{d}z}=\frac{-1}{(1+z)H(z)}, (2) where we integrate the emissivity \varepsilon_{\nu}(\lambda,z) of the source population over the time it has been emitting. The emissivity depends on wavelength, which is redshifted over cosmic time, and the redshift itself. The maximum redshift z_{\mathrm{max}} defines the redshift at which the population started emitting. The Hubble parameter is defined by the \Lambda CDM parameters as H(z)=H_{0}\sqrt{\Omega_{\Lambda}+\Omega_{\mathrm{m}}(1+z)^{3}} . We use the values \Omega_{\mathrm{m}}=0.3 ,

Read the complete text