CosmoCoffee Forum Index CosmoCoffee

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

CMB transfer functions at different redshift from CAMB Python
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Thibaut Louis



Joined: 31 Mar 2011
Posts: 2
Affiliation: Oxford University

PostPosted: February 15 2017  Reply with quote

Hi,

I was wondering if there is a easy way to get the CMB transfer function at different redshift from CAMB Python.
I'm currently using:
data = camb.get_transfer_functions(pars)
transfer = data.get_cmb_transfer_data()
tf_T=transfer.delta_pl_k[0,l,:]
to get them at redshift 0.

I guess it should not be too hard to do it directly from CAMB, but any help would be welcome.
Thanks !

Thibaut
Back to top
View user's profile  
Antony Lewis



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

PostPosted: February 15 2017  Reply with quote

You can get the matter transfer functions at different redshifts by calling:

Code:
pars.set_matter_power(redshifts=[0., 0.1,z2,z3])


There's no way to get the CMB transfer functions at other redshifts.
Back to top
View user's profile [ Hidden ] Visit poster's website
Thibaut Louis



Joined: 31 Mar 2011
Posts: 2
Affiliation: Oxford University

PostPosted: February 15 2017  Reply with quote

Ok thanks !

I thought I could get the code to calculate Δ2(k,r) (or Δ(k,r)) from equation 13 of:
https://arxiv.org/pdf/1407.5135.pdf
Best,

Thibaut
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.