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)
225 stars 282 forks source link

growth factor for massive neutrinos #282

Open amoradinejad opened 5 years ago

amoradinejad commented 5 years ago

Hi there

The class background module returns the growth factor D(z) and f(z) = dlnD/dlna for dust universe. Is there a function (perhaps in perturbation module) that returns the scale-dependant growth D(k,z) and f(k,z) (for example in the cosmology with massive neutrinos)?

Thank you, Azadeh

s-ilic commented 4 years ago

Hi Azadeh,

There is no such function implemented anywhere in CLASS : your best bet is probably to simply grab the P(k) outputted by the CLASS wrapper, and build your "own" scale-dependant growth D(k,z), by taking the square root of the ratio : P(k, z)/P(k, 0) .