-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
error message is :
271 pars.InitPower.set_params(ns=0.963, As=2.168e-9)
272 #pars.InitPower.set_params(ns=0.963,As = 2.168e-9*(sigma8/0.8 )**2)
--> 273 camb.set_halofit_version(version='takahashi')
274 p = camb.get_matter_power_interpolator(pars, nonlinear=True, k_hunit=False, hubble_units=False, kmax=100., zmax=1100., k_per_logint=False).P
275 chi_recomb = cosmo.comoving_distance(1100.).value
AttributeError: module 'camb' has no attribute 'set_halofit_version'
I think instead of having camb.set_halofit_version(version='takahashi') writing "pars.NonLinearModel.set_params(halofit_version='takahashi')" might work, looking at this notebook in cell 35
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels