CosmoCoffee Forum Index CosmoCoffee

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

CAMB:Get overdensities as a function of scale factor
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Tomohiro Nozawa



Joined: 09 Sep 2016
Posts: 1
Affiliation: graduate student

PostPosted: October 25 2016  Reply with quote

Hello all,

I would like to make a graph of "overdensities of CDM, baryon, photon and neutrino vs. scale factor " for a particular wavenumber e.g. k = 1, 0.1, 0.01 /Mpc.
I have the overdensities as a function of wave number k in transfer.dat output file, but how could I get those as a function of scale factor?

I really appreciate any help you can provide.

Tomohiro
Back to top
View user's profile  
Antony Lewis



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

PostPosted: October 25 2016  Reply with quote

There are examples of how to make time evolution plots in the sample python Jupyter notebook:

http://camb.readthedocs.io/en/latest/CAMBdemo.html
Back to top
View user's profile [ Hidden ] Visit poster's website
Erick Almaraz



Joined: 10 Jun 2012
Posts: 24
Affiliation: University of Mexico

PostPosted: October 28 2016  Reply with quote

Dear Tomohiro.

In cmbmain.f90 there is a subroutine called CalcScalarSources. There is an option to create a txt file for plotting the evolution of some quantity (eg, the overdensities of CDM, baryons, etc). You need to specify the mode you want to study in
Code:
    real(dl) :: fixq = 0._dl !Debug output of one q

This sentence is located at the top of cmbmain.f90.

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