SPECWIZARD : A Public Python Framework for Creating Synthetic Absorption Spectra from Hydrodynamical Simulations
Andrés Arámburo-García, Tom Theuns, Joop Schaye, Alexey Boyarsky
Key points
From the paper's conclusion- We present specwizard, a publicly available modular Python package for generating synthetic absorption spectra from hydrodynamical simulations.
Abstract
We present specwizard, a publicly available modular Python package for generating synthetic absorption spectra from hydrodynamical simulations. The code combines atomic data from the National Institute of Standards and Technology database with ionisation fractions computed using the cloudy spectral synthesis code for multiple ionising backgrounds, enabling consistent modelling of bound–bound and bound–free absorption for resonant transitions of all ions. specwizard employs a column-density–conserving projection scheme, includes natural line broadening for the H i Lyman series, and offers optional treatments of instrumental resolution and noise for direct comparison with high-resolution quasar spectra. As example applications of the code, we shoot sight lines through the eagle cosmological simulation to generate a z = 3.2 synthetic quasar spectrum containing over 4 × 104 H i Lyman-series transitions, including damping wings and Lyman-limit absorption. Additionally, we compute metal-absorption lines probing the circumgalactic medium of simulated galaxies, and investigate the correlated absorption of H i and Si iii. We demonstrate that specwizard applied to outputs from eagle accurately reproduces key observational diagnostics of the Lyman-α forest, including the redshift evolution of the mean transmission, the transmission pdf and the transmission power spectrum. We take advantage of the fact that the eagle simulation also reproduces the measured evolution of the temperature-density relation to infer the evolution of the amplitude of the ionizing background, Γ, finding excellent agreement with recent theoretical models and measurements.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Recovering Ionizing Photon Escape and Galaxy Scaling Relations in the LzLCS via Si II and C II Absorption Lines and Mock Spectra from a Radiation-Hydrodynamic SimulationarXiv · 2026
- Synthesizer: a Software Package for Synthetic Astronomical ObservablesThe Open Journal of Astrophysics · 2025
- Uncertainty-Aware Deep Learning for the Lyα Forest: CNN-Based Absorber Detection and CharacterizationMonthly Notices of the Royal Astronomical Society · 2026
- py4radiation: a framework for generating heating/cooling functions and ion fractions from custom radiation fields for astrophysical simulationsarXiv · 2026
- Predicting ionized gas emission in 3D with SKIRT. I. Framework and validationAstronomy and Astrophysics · 2026
- The Optical and Infrared Are ConnectedThe Astrophysical Journal · 2026