CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

CosmoMC: Combining a new likelihood with the existing likelihoods
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Abhishek Maniyar



Joined: 17 Mar 2016
Posts: 9
Affiliation: Laboratoire d’Astrophysique de Marseille

PostPosted: June 04 2016  Reply with quote

Hello everyone!

I am running CosmoMC on a Windows 7 OS using COSMOBOX virtual environment. We have a new different likelihood model for JLA SN1a dataset with additional parameters than the just alpha and beta. I am renaming this file as supernovae_JLA.f90 (basically replacing the old file with this new one) and then it runs smoothly. I use my own code to calculate the luminosity distance for supernovae where the cosmological parameters Ωm and Ωλ come in.
Now I want to combine this likelihood with Plank likelihood to get a better constraint on these cosmological parameters. How do I combine Ωm and Ωλ from my code to those in Plank likelihood and others so that when I do the sampling, it considers them together and gives a combined result?

Sorry for the long question but I thought that it would be better to explain it in detail in order to get some help.
Thank you!
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1301
Affiliation: University of Sussex

PostPosted: June 04 2016  Reply with quote

If it works without Planck I would have thought it would work the same way with Planck: just get parameters from the CMB object passes to your LnLike function.
Back to top
View user's profile [ Hidden ] Visit poster's website
Abhishek Maniyar



Joined: 17 Mar 2016
Posts: 9
Affiliation: Laboratoire d’Astrophysique de Marseille

PostPosted: June 06 2016  Reply with quote

Hey,

Thank you for the reply. Yes, I tried using CMB class parameters in my code but I am getting some errors. I am now trying to use the inbuilt 'AngularDiameterDistance' function inside of cosmomc to accommodate Ωm and ΩΛ . I am getting some errors here as well. I am trying to resolve them. I will ask for more help if I don't manage it.

Thank you once again!
Back to top
View user's profile [ Hidden ]
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.