| View previous topic :: View next topic |
| Author |
Message |
Laurence Lewis
Joined: 09 Oct 2007 Posts: 2 Affiliation: James Madison University
|
Posted: October 09 2007 |
|
|
I am looking to play around with the BBN values in cosmomc. They seem to be hard coded. Can anyone please point in the direction of their location? Thanks!
Cheers
Laurence |
|
| Back to top |
|
 |
Anze Slosar
Joined: 24 Sep 2004 Posts: 195 Affiliation: Brookhaven National Laboratory
|
Posted: October 09 2007 |
|
|
| calclike.f90: if (Use_BBN) GetLogLikePost = GetLogLikePost + (CMB%ombh2 - 0.022)**2/(2*0.002**2) |
|
| Back to top |
|
 |
Laurence Lewis
Joined: 09 Oct 2007 Posts: 2 Affiliation: James Madison University
|
Posted: October 10 2007 |
|
|
I obtained the same instance when I greped 'BBN' in the source. I was curious if there were any other instances of it in the code from which I could alter its values? Thank you
Laurence |
|
| Back to top |
|
 |
kumar pandey
Joined: 26 Nov 2008 Posts: 3 Affiliation: Inter University Centre for Astronomy and Astrophysics
|
Posted: November 27 2008 |
|
|
Hi There,
I am new to CosmoMC, but it looks great!
I have been asked to reproduce WMAP5 + BAO results (Percival et al 2007).
My only problem is that i am not sure in which form i have to include the likelihood.
Let me explain my problem: −2lnL = X−1 V−1 X
Now when i add this to calclike.f90 i have
if (use_percival)
GetLogLikePost = GetLogLikePost + X−1 V−1 X
end if
Is it correct? Or i have to use X−1 V−1 X /2
Looking forward to hearing from you :)
http://cosmocoffee.info/viewtopic.php?t=1276 |
|
| Back to top |
|
 |
|