Page 1 of 1

Extracting cosmological parameters from a given CMB power spectrum

Posted: July 03 2019
by Esteban Chalbaud
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?.

Thanks in advance.

Esteban

Re: Extracting cosmological parameters from a given CMB power spectrum

Posted: July 03 2019
by Antony Lewis
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.

Re: Extracting cosmological parameters from a given CMB power spectrum

Posted: July 03 2019
by Esteban Chalbaud
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.
Thank you in advance

Re: Extracting cosmological parameters from a given CMB power spectrum

Posted: July 03 2019
by Esteban Chalbaud
I think the Planck's likelihood uses the Planck's power spectra, so i was thinking to change this file, in order that Planck's likelihood uses my file instead of the default one, but is not clear for me how does it work in the code or which file i have to change to achieve this.