lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
230 stars 285 forks source link

Understanding the Output file #454

Open Astro-Falcon opened 2 years ago

Astro-Falcon commented 2 years ago

This is just a fairly easy question, I ran the code and obtained the output files in the output folder. I only took the outputs for tCl, lCl and nCl. And the output I got was of the form below:

1:l 2:TT 3:phiphi 4:TPhi 5:dens[1]-dens[1] 6:dens[1]-dens[2] 7:dens[1]-dens[3] 8:dens[1]-dens[4] 9:dens[1]-dens[5] 10:dens[2]-dens[2] 11:dens[2]-dens[3] 12:dens[2]-dens[4] 13:dens[2]-dens[5] 14:dens[3]-dens[3] 15:dens[3]-dens[4] 16:dens[3]-dens[5] 17:dens[4]-dens[4] 18:dens[4]-dens[5] 19:dens[5]-dens[5] 20:phi-dens[1] 21:phi-dens[2] 22:phi-dens[3] 23:phi-dens[4] 24:phi-dens[5]

2       1.381672654551e-10       8.236342468379e-09       4.535748590434e-10       1.297572936876e-06       1.282264044208e-06       1.257187203914e-06       6.340736036263e-07      -6.236727024503e-09       1.277292849965e-06       1.262383877377e-06       7.017654819740e-07       3.731649484076e-08       1.257652867411e-06       7.668017189326e-07       8.475823364240e-08       1.091000473692e-06       6.713774664222e-07       9.652814772649e-07       1.863763793527e-08       1.825041544011e-08       1.787516674718e-08       1.468479344954e-08       1.227989197404e-08 
3       1.306686948678e-10       5.068764430537e-09       3.217368795770e-10      

Now, I am interested in obtaining the nCls from this, how should I do this. Any help would be appreciated.

lesgourg commented 2 years ago

Hi @Astro-Falcon , so, for instance:

Astro-Falcon commented 2 years ago

Thanks for replying, and what should column should I consent in case I want density Cls?

lesgourg commented 2 years ago

Hmm, I am not sure that you understood my answer... in the example above, 5-19 are all density C_l's.