Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/htjb/cmb-likelihood
Mock CMB likelihood
https://github.com/htjb/cmb-likelihood
Last synced: 2 days ago
JSON representation
Mock CMB likelihood
- Host: GitHub
- URL: https://github.com/htjb/cmb-likelihood
- Owner: htjb
- Created: 2024-01-08T09:57:22.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-25T17:56:57.000Z (6 months ago)
- Last Synced: 2024-12-06T22:00:37.882Z (21 days ago)
- Language: Jupyter Notebook
- Size: 1.14 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mock CMB Likelihood
## Introduction
| cmb_likelihood | Toy CMB Likelihood Code |
|----------------|-------------------------|
| Authors | Harry T.J. Bevins |
| Version | 0.2.1.beta |
| Homepage | |
|Documentation | |## Installation
Currently can install the package with
```
git clone https://github.com/htjb/cmb-likelihood
pip install .
```## The point
Given a C_l^{TT} data set and a noise power spectrum
```python
from cmblike.noise import planck_noise
from cmblike.data import get_dataplanck, l = get_data().get_planck()
noise = planck_noise(l).calculate_noise()```
the package allows users to;
- generate realisations of a CMB TT power spectrum
as if it had been observed by an
instrument with a user specified noise profile.
- generate theoretical models of the power spectrum
with CAMB
- evaluate the likelihood for a theoretical model
given a data set## Citation