Symbolic Implementation of Extensions of the ${\}texttt\{{PyCosmo}\}$ Boltzmann Solver. Moser, B., Lorenz, C. S., Schmitt, U., Refregier, A., Fluri, J., Sgier, R., Tarsitano, F., & Heisenberg, L. arXiv:2112.08395 [astro-ph], December, 2021. arXiv: 2112.08395
Symbolic Implementation of Extensions of the ${\}texttt\{{PyCosmo}\}$ Boltzmann Solver [link]Paper  abstract   bibtex   
${\}texttt\{PyCosmo\}$ 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 ${\}texttt\{C/C++\}$ code is generated from the ${\}texttt\{SymPy\}$ symbolic expressions making use of the ${\}texttt\{sympy2c\}$ package. This enables easy extensions of the equation system for the implementation of new cosmological models. We illustrate this with three extensions of the ${\}texttt\{PyCosmo\}$ Boltzmann solver to include a dark energy component with a constant equation of state, massive neutrinos and a radiation streaming approximation. We describe the ${\}texttt\{PyCosmo\}$ framework, highlighting new features, and the symbolic implementation of the new models. We compare the ${\}texttt\{PyCosmo\}$ predictions for the ${\}Lambda$CDM model extensions with ${\}texttt\{CLASS\}$, 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.
@article{moser_symbolic_2021,
	title = {Symbolic {Implementation} of {Extensions} of the \${\textbackslash}texttt\{{PyCosmo}\}\$ {Boltzmann} {Solver}},
	url = {http://arxiv.org/abs/2112.08395},
	abstract = {\${\textbackslash}texttt\{PyCosmo\}\$ 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 \${\textbackslash}texttt\{C/C++\}\$ code is generated from the \${\textbackslash}texttt\{SymPy\}\$ symbolic expressions making use of the \${\textbackslash}texttt\{sympy2c\}\$ package. This enables easy extensions of the equation system for the implementation of new cosmological models. We illustrate this with three extensions of the \${\textbackslash}texttt\{PyCosmo\}\$ Boltzmann solver to include a dark energy component with a constant equation of state, massive neutrinos and a radiation streaming approximation. We describe the \${\textbackslash}texttt\{PyCosmo\}\$ framework, highlighting new features, and the symbolic implementation of the new models. We compare the \${\textbackslash}texttt\{PyCosmo\}\$ predictions for the \${\textbackslash}Lambda\$CDM model extensions with \${\textbackslash}texttt\{CLASS\}\$, 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.},
	urldate = {2021-12-22},
	journal = {arXiv:2112.08395 [astro-ph]},
	author = {Moser, Beatrice and Lorenz, Christiane S. and Schmitt, Uwe and Refregier, Alexandre and Fluri, Janis and Sgier, Raphael and Tarsitano, Federica and Heisenberg, Lavinia},
	month = dec,
	year = {2021},
	note = {arXiv: 2112.08395},
	keywords = {astrophysics, cosmology, uses sympy},
}

Downloads: 0