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)
220 stars 291 forks source link

Discrepancy between Class 2018 baseline and Planck 2018 bestfit at low \ell #501

Closed mtagliazucchi closed 1 year ago

mtagliazucchi commented 1 year ago

Hi everyone.

I've computed CMB power spectra by using the 2018 baseline Planck file _base_2018_plikHM_TTTEEE_lowl_lowElensing.ini already contained in Class. Then I plotted the residuals with respect to Planck binned experimental data (contained in the second column of the file _COM_PowerSpect_CMB-TT-binnedR3.01.txt available here ).

To compute the residuals I've interpolated the Class output and evaluated the interpolated function on the same \ell provided in the Planck file. Then I took the difference between these values and the Planck experimental binned data. The result, including also the errorbars contained in column 2 and 3 of _COM_PowerSpect_CMB-TT-binnedR3.01.txt , is Screenshot from 2022-11-08 14-39-37

I expect these residuals to be similar to those obtained by subtracting the experimental Planck binned data and the Planck bestfit points (fifth column of _COM_PowerSpect_CMB-TT-binnedR3.01.txt ).

Unfortunately, this is not true. The plot in this case looks like Screenshot from 2022-11-08 14-43-30

Clearly, at small \ell there is a difference in the two plots which is even more clear if I superimpose the two plots Screenshot from 2022-11-08 14-55-53

The fact that Class baseline does not reproduce well Planck bestift is evident even if one compares directly the two spectra: Screenshot from 2022-11-08 14-51-52

Does someone knows why Class baseline does not reproduce well Planck bestifit?

schoeneberg commented 1 year ago

Dear @matteotagliazucchi, that might just be the result of using the bestfit file that includes CMB lensing, which is not the same bestfit as in the official Planck file, which to my best knowledge doesn't include lensing. E.g. if I look at the COM_PowerSpect_CMB-base-plikHM-TTTEEE-lowl-lowE-lensing-minimum-theory_R3.01.txt file (which does include lensing), then the low L multipoles differ from COM_PowerSpect_CMB-TT-binned_R3.01.txt. As such, this might already explain the problem :)

mtagliazucchi commented 1 year ago

Dear @matteotagliazucchi, that might just be the result of using the bestfit file that includes CMB lensing, which is not the same bestfit as in the official Planck file, which to my best knowledge doesn't include lensing. E.g. if I look at the COM_PowerSpect_CMB-base-plikHM-TTTEEE-lowl-lowE-lensing-minimum-theory_R3.01.txt file (which does include lensing), then the low L multipoles differ from COM_PowerSpect_CMB-TT-binned_R3.01.txt. As such, this might already explain the problem :)

Thank you so much for the answer!