## Extracting cosmological parameters from a given CMB power spectrum

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Esteban Chalbaud
Posts: 9
Joined: June 01 2019
Affiliation: Master's student
Contact:

### Extracting cosmological parameters from a given CMB power spectrum

Hello everyone,

I am trying to extract cosmological parameters using CosmoMC, but i am confused in how CosmoMC handles CMB power spectrum, i know that i have to call a given .ini file but do not where i can specify a given power spectrum file, as far as i know the power spectrum is computed by CAMB first, but if i already have the file how i can do that?.

Esteban

Antony Lewis
Posts: 1534
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

### Re: Extracting cosmological parameters from a given CMB power spectrum

If by spectrum you mean likelihood, you'd need to write your own likelihood or adapt one of the provided ones. If you are unclear of what the difference between a data power spectrum, likelihood or model power spectrum is, I suggest reading some background material on MCMC first.

Esteban Chalbaud
Posts: 9
Joined: June 01 2019
Affiliation: Master's student
Contact:

### Re: Extracting cosmological parameters from a given CMB power spectrum

Ok, I was totally wrong.
I know the theoretical difference, but i do not know how to adapt one likelihood to read an specific power spectrum
Is there any material available to do this? I have no idea where to start.