View previous topic :: View next topic 
Author 
Message 
Evan B
Joined: 27 Feb 2015 Posts: 13 Affiliation: student

Posted: May 04 2015 


I am struggling to use CAMB or CLASS to directly compute and plot the twopoint temperature correlation function C(theta). (See for example firstyear WMAP release, astroph/0302207v3, equations (5) and (6) in Section 7. Full derivation found in Durrer 2008 textbook "The Cosmic Microwave Background", equation 2.240.) The measured quantity was released as a WMAP firstyear data product. I would like to plot the theoretical prediction C(theta) versus theta.
Naturally, I can manipulate the CAMB or CLASSgenerated outputs C_{l} and ell in order to calculate this expression. I could then convert ell values into theta, and plot the results. However, I would ideally like to directly compute C(theta) using Boltzmann codes. Is there a method to do this? 

Back to top 


Antony Lewis
Joined: 23 Sep 2004 Posts: 1303 Affiliation: University of Sussex

Posted: May 05 2015 


Not using CAMB (or CLASS AFAIK)  as you say, just calculate the CL and transform. 

Back to top 


Evan B
Joined: 27 Feb 2015 Posts: 13 Affiliation: student

Posted: May 07 2015 


@Antony Lewis
Thanks for the help! 

Back to top 


Bob Zou
Joined: 21 Jul 2016 Posts: 5 Affiliation: Beijing Institute of Technology

Posted: September 18 2017 


Hi, Here CLASS was mentioned. We know CAMB and CLASS are both Boltzmann solver, So can anyone help summarising what more physics that CLASS can bring us? I mean if they have completely same functions, why efforts were paied to accomplish one thing twice?
Thanks a lot. Good Luck. 

Back to top 


Antony Lewis
Joined: 23 Sep 2004 Posts: 1303 Affiliation: University of Sussex

Posted: September 18 2017 


The two codes basically implement the same physics. But they support a slightly different range of extensions/things you can calculate (e.g. CLASS makes it easier to add additional species, CAMB supports HMCode and has more things related to bispectra and CMB lensing). CAMB devel branch is similar to CLASSgal, but I don't know how they compare in detail.
BTW, CAMB now can calculate correlation functions for you, via the Python wrapper:
http://camb.readthedocs.io/en/latest/correlations.html 

Back to top 


