This is a Statistics project regarding the CMB for the 3rd year Physics Bachelor course "Statistics for Modern Physics" from the University of Groningen.
Clone the repo and install dependencies:
git clone https://github.com/yasinghasmi/COSMO1_statistics.git
cd COSMO1_STATISTICS
pip install -r requirements.txt- Start Jupyter Notebook:
jupyter notebook- Open one of the following notebooks:
- data_ingestion_and_modelling.ipynb (In this Notebook the data is downloaded a processed and a Model for the CMB TT spectra is created)
- inference.ipynb - (In this Notebook the priors and likelihood are implemented and MCMC is run)
- diagnostics.ipynb - (In this Notebooks the diagnostics are performed and the final plots are produced)
- run_mcmc.py - (In this notebook the MCMM algorithm was rerun to fix a previous typo)
- Run all cells in the notebooks in order to reproduce the results
- Reproduces a figure from the Planck 2018 CMB TT spectra public data
- Computes theoretical CMB spectra with
camb - Performs parameter estimation using MCMC with
emcee - Generates plots with
matplotlib - Implemented in Jupyter Notebooks for easy reproduciblity
- Python
- NumPy
- Pandas
- matplotlib
- camb
- emcee
- Jupyter Notebook
MIT License
See LICENSE file for details
Project performed by Lola Fernández-Miranda Martín, Yasin Ghasemi, Elpida Peyioti, Kristina Prošková and Aryan Sinha using the template provided by the "Statistics for Modern Physics" team and data from the 2018 Planck collaboration.