Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COSMO1_statistics

This is a Statistics project regarding the CMB for the 3rd year Physics Bachelor course "Statistics for Modern Physics" from the University of Groningen.

Instalation

Clone the repo and install dependencies:

git clone https://github.com/yasinghasmi/COSMO1_statistics.git
cd COSMO1_STATISTICS
pip install -r requirements.txt

Usage

  1. Start Jupyter Notebook:
jupyter notebook
  1. 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)
  1. Run all cells in the notebooks in order to reproduce the results

Features

  • 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

Tech Stack

  • Python
  • NumPy
  • Pandas
  • matplotlib
  • camb
  • emcee
  • Jupyter Notebook

License

MIT License See LICENSE file for details

Credits

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.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages