CosmoCoffee Forum Index CosmoCoffee

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

[CAMB/CosmoMC] Reusing generated Cls in CosmoMC
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Luke Hart



Joined: 13 Jul 2015
Posts: 37
Affiliation: University of Manchester

PostPosted: June 11 2018  Reply with quote

Within CAMB, the CMB power spectrum is generated and outputted to file. Similarly, the CMB power spectra are communicated to CosmoMC when used in conjunction with a likelihood. Is there a way to import Cls to bypass the whole CAMB calculation step when trying to deduce the likelihood for a given set of theory Cls?
Back to top
View user's profile  
Antony Lewis



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

PostPosted: June 12 2018  Reply with quote

If you've run a chain and produced .data files, you can importance sample quickly by reading cls from the data files. But there's no specific built-in function to read cls from any other external file.
Back to top
View user's profile [ Hidden ] Visit poster's website
Luke Hart



Joined: 13 Jul 2015
Posts: 37
Affiliation: University of Manchester

PostPosted: June 12 2018  Reply with quote

I appreciate you Antony and others are quite busy, but would you have any idea how one would go about this?? I have had a look at the GeneralSetup.F90 file as well as the driver file, the CosmoTheory.f90 file etc. and I know it will probably be just a small co-ordination of the parameter references to the file read options, so I'm sort of at a loss.

If we get this working, I have some other code that if refined, could be a nice addition to the standard CosmoMC code.
Back to top
View user's profile  
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.