Quantcast
Channel: CosmoCoffee
Viewing all articles
Browse latest Browse all 182

Computers and software • CAMB: Modifying the Code to Define an Arbitrary w(a)

$
0
0
Hello everyone,

I have modified the `set_params()` function in `cosmo_packages/code/CAMB/camb/` to define a new dark energy model where the equation of state is described by calling `self.set_w_a_table(a, w)` to effectively represent an arbitrary function for [math].

I have two questions regarding my modification:
  • Is this modification sufficient to describe a new dark energy model that affects only the background dynamics?
  • Is it possible to make this model dependent on sampled parameters that are not traditionally included in an equation for [math], such as [math]? If so, should I do this by including the relevant parameter in the `set_params()` input parameters, or do I need to specify it in other parts of the code?
Thank you very much for your help,
Dror

Statistics: Posted by Dror Berechya — August 04 2024



Viewing all articles
Browse latest Browse all 182

Trending Articles