Symbolic Implementation of Extensions of the Boltzmann Solver
arXiv:2112.08395 · doi:10.1016/j.ascom.2022.100603
Abstract
is a Python-based framework for the fast computation of cosmological model predictions. One of its core features is the symbolic representation of the Einstein-Boltzmann system of equations. Efficient code is generated from the symbolic expressions making use of the package. This enables easy extensions of the equation system for the implementation of new cosmological models. We illustrate this with three extensions of the Boltzmann solver to include a dark energy component with a constant equation of state, massive neutrinos and a radiation streaming approximation. We describe the framework, highlighting new features, and the symbolic implementation of the new models. We compare the predictions for the CDM model extensions with , both in terms of accuracy and computational speed. We find a good agreement, to better than 0.1% when using high-precision settings and a comparable computational speed. Links to the Python Package Index (PyPI) page of the code release and to the PyCosmo Hub, an online platform where the package is installed, are available at: https://cosmology.ethz.ch/research/software-lab/PyCosmo.html.
35 pages including 5 figures and 3 tables. Link to package: https://cosmology.ethz.ch/research/software-lab/PyCosmo.html
References in corpus (6)
- The NumPy array: a structure for efficient numerical computation
- Massive neutrinos and cosmology
- The Cosmic Linear Anisotropy Solving System (CLASS) I: Overview
- New Perspective on Galaxy Clustering as a Cosmological Probe: General Relativistic Effects
- Dark energy with non-adiabatic sound speed: initial conditions and detectability
- Optimal Boltzmann hierarchies with non-vanishing spatial curvature
Cited by in corpus (6)
- The CosmoVerse White Paper: Addressing observational tensions in cosmology with systematics and fundamental physics
- Redshift requirements for cosmic shear with intrinsic alignment
- Fast Simulation of Cosmological Neutral Hydrogen based on the Halo Model
- Assessing theoretical uncertainties for cosmological constraints from weak lensing surveys
- SHAM-OT: Rapid Subhalo Abundance Matching with Optimal Transport
- galsbi: A Python package for the GalSBI galaxy population model