Page 1 of 1

How to put a hard prior on w_de with CPL equation of state p

Posted: June 15 2017
by Sunny Vagnozzi
Dear Anthony et al,

say I am using the CPL parametrization for the dark energy equation of state (or for that matter, any other 2-parameter parametrization of the equation of state), which is implemented in line 98 of camb/equations_ppf.f90:

Code: Select all

w_de=w_lam+wa_ppf*(1._dl-a)
If I understand this correctly, I can then put hard priors on w_lam and wa_ppf through param[w]= and param[wa]= in my ini file. Is this correct so far?

However, say I want to put a hard prior on w_de instead (which is given by the combination of w and wa if I understood this correctly), say e.g. I want w_de>-1 because I am studying a quintessence model, how do I impose this?

Thanks a lot! Cheers,
Sunny

Re: How to put a hard prior on w_de with CPL equation of sta

Posted: June 15 2017
by Antony Lewis
You'd have to write your own prior, e.g. in TP_NonBaseParameterPriors in CosmologyParameterizations.f90.

How to put a hard prior on w_de with CPL equation of state p

Posted: June 15 2017
by Sunny Vagnozzi
Dear Anthony,

thanks for your help! I looked into TP_NonBaseParameterPriors. Would it be sufficient to have something like:

Code: Select all

if &#40;CMB%w_de < -1.0&#41; return
assuming I want to set w_de>-1? Would this ensure that w_de would be -1 for any value of redshift z>0?

Cheers,
Sunny