CosmoCoffee Forum Index CosmoCoffee

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

Generating convergence power spectrum
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Laura Turnbull



Joined: 14 Mar 2018
Posts: 3
Affiliation: UoE

PostPosted: March 14 2018  Reply with quote

I'm new to CAMB and I've been looking around the documentation for a few days now. I'm looking to generate a convergence power spectrum Cκ with a specific window function. I'm not sure if I should use get_lensed_scalar_cls (or what this generates) or if the easiest way is to use get_lensed_potential_cls (which generates Cφ )and take second derivatives.

Any help would be amazing
Back to top
View user's profile  
Antony Lewis



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

PostPosted: March 14 2018  Reply with quote

There's no built-in specific support with a particular window function (only for CMB lensing). You can use python wrapper: see box 30 and below on
http://camb.readthedocs.io/en/latest/CAMBdemo.html
for the specific example of calculating the CMB lensing convergence. You'd just have to generalize it by integrating over your source window function.

Alternatively you can use CAMB sources (or devel camb branch). which does support setting your own window function.
Back to top
View user's profile [ Hidden ] Visit poster's website
Laura Turnbull



Joined: 14 Mar 2018
Posts: 3
Affiliation: UoE

PostPosted: March 17 2018  Reply with quote

Thank you for replying! Looking at the Python wrapper I can take the C φ and transform it to the C κ I need but I'm wondering how the get_lens_potential_cls function actually works. I can't see in the documetation, but to compute the power spectrum does it not need more than information than just ? I'm looking to make the power spectrum for a specific redshift distribution of sources and can't see how to generate this.

Thanks
Back to top
View user's profile  
Laura Turnbull



Joined: 14 Mar 2018
Posts: 3
Affiliation: UoE

PostPosted: March 17 2018  Reply with quote

Never mind I've figured out how to do it!

I took the basic set up of [30] but instead of finding a redshift distribution from the χ distribution, I found the χ s from the desired z list.
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.