CAMB: reuse results with changing source windows
Posted: October 11 2022
I am repeatedly computing angular power spectra for counts and lensing using the exact same cosmology, but differing splined source windows. You could think of it as exploring different parametrisations of $n(z)$.
Is there a way for CAMB to reuse parts of the computation, such as e.g. the nonlinear matter power spectra? It seems that passing the updated parameter object pars in the call to get_source_cls_dict(pars, ...) is not much different than calling it on new results as in get_results(pars).get_source_cls_dict(...).
Is there a way for CAMB to reuse parts of the computation, such as e.g. the nonlinear matter power spectra? It seems that passing the updated parameter object pars in the call to get_source_cls_dict(pars, ...) is not much different than calling it on new results as in get_results(pars).get_source_cls_dict(...).