The Accelerated Reionization Era Simulations (ares) code was designed to rapidly generate models for the global 21-cm signal. It can also be used as a 1-D radiative transfer code, stand-alone non-equilibrium chemistry solver, or meta-galactic radiation background calculator.
A few papers on how it works:
- 1-D radiative transfer: Mirocha et al. (2012).
- Uniform backgrounds & global 21-cm signal: Mirocha (2014).
Be warned: this code is still under active development – use at your own risk! Correctness of results is not guaranteed.
To make sure everything is working, a quick test is to generate a realization of the global 21-cm signal using all default parameter values:
import ares sim = ares.simulations.Global21cm() sim.run() sim.GlobalSignature()
See Simple Models for the Global 21-cm Signal in Examples for a more thorough introduction to this type of calculation.