Monthly Notices of the Royal Astronomical Society

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

Computational

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