PRIMAT

PRImordial MATter — Big-Bang Nucleosynthesis abundance computations

General description

PRIMAT is a code dedicated to the computation of light element abundances at the end of Big-Bang Nucleosynthesis (BBN). It computes the evolution of these abundances in the first minutes after the Big-Bang so as to obtain the frozen values when the temperature dropped below 108 degrees. It allows exploration of the dependence of light element abundances on cosmological parameters such as baryon density or number of neutrino species, and estimation of the uncertainty in these predictions due to uncertainties in nuclear reaction rates. PRIMAT used to be available as a Mathematica package, and now it is a Python/C package.

Documentation

The details of the method used to solve numerically for the thermodynamics, cosmology and nuclear reactions in the early universe are available in a Physics Reports article (04, (2018) 005 [arXiv:1801.08023]). Please cite it along with this website if you use PRIMAT in BBN-related publications, using this bibtex file. See also updates on rates described in MNRAS 502 (2021) 2474–2481 [arXiv:2011.11320].

Discover primat

🚀  primat-gui — try it online, no installation needed

The easiest way to get started: a free, browser-based interface to primat lets you set cosmological parameters (baryon density, ΔNeff, nuclear network size, …), run a full BBN computation, and explore the resulting abundance evolution and final light-element abundances — all directly in your browser, with no installation required.

🚀  Launch primat-gui

Installation

🌎  Install via pip

primat can be installed as a Python package using pip:

pip install primat

Once installed, primat is a Python/C package that reproduces the full BBN computation of PRIMAT: thermodynamics, neutrino decoupling, nuclear reaction network, and final light-element abundances. It is designed for scripting, Jupyter notebooks, and programmatic exploration of cosmological parameters.

Sources

The source code and development repository for PRIMAT are hosted on GitHub. You can access the latest code on

🔗  github.com/CyrilPitrou/primat

This method is recommended if you want to modify nuclear rates and customize primat. After cloning or downloading the source code, install in development mode with

pip install -e .

See the README.md files and examples in notebooks and runfiles folders to get started.

primat_tools

📈  Cobaya interface for MCMC

primat integrates seamlessly with Cobaya, the cosmological Bayesian analysis framework. The companion package primat_tools provides ready-to-use theory and likelihood classes that plug primat into Cobaya pipelines, enabling full Markov Chain Monte Carlo (MCMC) parameter inference with BBN constraints.

🔗  github.com/CyrilPitrou/primat_tools

Mathematica version

The (legacy) Mathematica version of PRIMAT is still available on GitHub or as a direct download:

Examples are provided in the package: basic notebooks show how to get final abundances and draw plots, while more advanced ones run computations on a parameter grid or perform MCMC uncertainty estimation. Pre-computed results can also be downloaded as the Results folder to skip the long runs.

Results

A table of main abundances (He-4 and Deuterium) as a function of baryon abundance and effective number of neutrinos, generated with PRIMAT, is available as a direct download: PRIMAT_Yp_DH_ErrorMC_100_2024.dat.

You can also consult the list of articles which acknowledge the use of PRIMAT.

Gallery

BBN abundance evolution plot Grid of abundance predictions Neutron-to-proton ratio plot

License

The programs on this page are distributed as free software under the GNU General Public License. They are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.