-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Bug description and solution
When sampling a firecrown likelihood with CosmoSIS, varying the HMCode parameters modifying the contribution of baryonic feedback are not varied in the MCMC in firecrown v1.14. This is due to inconsistencies in the lower-case/camel-case conventions within each code. To address the bug, we must modify the update function in the CAMBExtraParameters class of ccl_factory to call something like the following:
try:
self.HMCode_A_baryon = params.get_from_full_name("HMCode_A_baryon")
except KeyError:
pass
try:
self.HMCode_eta_baryon = params.get_from_full_name("HMCode_eta_baryon")
except KeyError:
pass
try:
self.HMCode_logT_AGN = params.get_from_full_name("HMCode_logT_AGN")
except KeyError:
pass