{"id":694,"date":"2023-07-28T07:42:17","date_gmt":"2023-07-28T07:42:17","guid":{"rendered":"http:\/\/localhost:8888\/MyWebPage\/?page_id=371"},"modified":"2023-07-28T07:42:17","modified_gmt":"2023-07-28T07:42:17","slug":"cross-cmbfast","status":"publish","type":"page","link":"https:\/\/people-lux.obspm.fr\/corasaniti\/?page_id=694","title":{"rendered":"Cross-CMBFAST"},"content":{"rendered":"\n<h3 class=\"wp-block-heading has-black-color has-text-color\">Code Description<\/h3>\n\n\n\n<p class=\"has-black-color has-text-color\">This code is an extension of&nbsp;CMBFAST4.5.1&nbsp;(no longer distributed) by U. Seljak &amp; M. Zaldarriaga to compute the ISW-correlation power spectrum and the 2-point angular ISW-correlation function for a given galaxy window function. It includes dark energy models specified by a constant equation of state (w) or a linear parameterization in the scale factor (\\(w_0\\), \\(w_a\\)) and a constant sound speed (c2de). For reference see&nbsp;<a href=\"http:\/\/arxiv.org\/abs\/astro-ph\/0504115\"><strong>astro-ph\/0504115<\/strong><\/a>, while for a detailed description of the ISW-correlation equations implemented see&nbsp;<a href=\"http:\/\/arxiv.org\/abs\/astro-ph\/0506396\"><strong>astro-ph\/0506396<\/strong><\/a>. The ISW computation is limited to flat geometry. Differently from the original CMBFAST4.5 version dark energy perturbations are implemented for a general dark energy fluid specified by w(z) and c2de in synchronous gauge (see for instance Eq. (7)-(9) in Bean and Dore&nbsp;<a href=\"http:\/\/arxiv.org\/abs\/astro-ph\/0307100\"><strong>astro-ph\/0307100<\/strong><\/a>). For time varying dark energy models it is suggested not to cross the \\(w=-1\\) line, as Dr. Wenkman says: \u201cnever cross the streams\u201d, bad things can happen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-black-color has-text-color\">Galaxy Selection Function<\/h3>\n\n\n\n<p class=\"has-black-color has-text-color\">The code allows to specify the galaxy window function. Two possibilities are implemented: 1) a standard window function ( \\(A z^m e^{-(z\/z_0)^{\\beta}}\\) ) normalized to unity with input parameters median redshift \\(z_{med}\\) ( \\(=1.41 z_0\\) ) and the slopes \\(m\\) and \\(\\beta\\). A bit of care is necessary for the normalization (see remarks); 2) Luminous Red Galaxies window function from SDSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-black-color has-text-color\">Output<\/h3>\n\n\n\n<p class=\"has-black-color has-text-color\">The output consists of two files, the angular ISW-correlation function in \\(\\mu\\)K ( \\(\\theta\\), \\(C_{Tg}(\\theta)\\) ) and the power spectra in multipole space, the second column is the ISW-correlation power spectrum \\(l(l+1)\/2\\pi\\, C_{l}^{(Tg)}\\) and the last column is the matter-matter angular power spectrum \\(l(l+1)\/2\\pi\\, C_{l}^{(gg)}\\), in order to get the galaxy-galaxy power spectrum you need to multiply by your preferred constant bias value or you need to implement the model bias in the ISW-correlation computation (see remarks). Other columns are standard CMB spectra as in CMBFAST. Output data are normalized as WMAP3 at \\(k=0.002\\, Mpc^{-1}\\) (\\(A_s\\) is an input parameter).<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-black-color has-text-color\">Remarks<\/h3>\n\n\n\n<p class=\"has-black-color has-text-color\">The code can be easily modified for studying ISW-correlation in more complicate models (modified gravity, time varying neutrino mass, coupled quintessence, etc..). In order to implement a scale and time dependent bias you need to modify the ISW-correlation computation in cmbcrossflat.F. If you want to use a non-standard selection function you can modify it in subcross.F. and change the normalization accordingly, you can use a numerical integration which I left for such a case. On the other hand if you want to use a very broad standard selection function be careful with the value of beta you plug in, if beta ~ 0 remember that the Gamma function blows up, while you are just using a power low selection function whose integral depends on the maximmum redshift of the survey.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-text-align-left has-black-color has-text-color\" style=\"font-size:16px\">Download: <a href=\"https:\/\/luth.obspm.fr\/~luthier\/corasaniti\/CODES\/CROSS_CMBfast1.2.tar.gz\">CROSS_CMBfast1.2.tar.gz<\/a><\/h4>\n\n\n\n<h3 class=\"wp-block-heading has-black-color has-text-color\">How to run the code<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">tar -zxvf CROSS_CMBFAST.tar\n<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir output<\/pre>\n\n\n\n<p class=\"has-black-color has-text-color\">modify the Makefile for your compiler and run <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make<\/pre>\n\n\n\n<p class=\"has-black-color has-text-color\">before running the&nbsp;executable&nbsp;remember to create the Bessel function file and call it jl.dat<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">jlgen (.\/jlgen if you use bash)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">jlgen (.\/jlgen if you use bash)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">cmb<\/pre>\n\n\n\n<p class=\"has-black-color has-text-color\">output files are stored in the directory output,&nbsp;in the package I left two test input files:&nbsp;wconst.ini and wvar.ini.&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cmb &lt; wvar.ini<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Code Description This code is an extension of&nbsp;CMBFAST4.5.1&nbsp;(no longer distributed) by U. Seljak &amp; M. Zaldarriaga to compute the ISW-correlation power spectrum and the 2-point angular ISW-correlation function for a given galaxy window function. It includes dark energy models specified by a constant equation of state (w) or a linear parameterization in the scale factor &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/people-lux.obspm.fr\/corasaniti\/?page_id=694\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cross-CMBFAST&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":365,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-694","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/pages\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=694"}],"version-history":[{"count":0,"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/pages\/694\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=\/wp\/v2\/pages\/365"}],"wp:attachment":[{"href":"https:\/\/people-lux.obspm.fr\/corasaniti\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}