diff --git a/act_dr6_lenslike/act_dr6_lenslike.py b/act_dr6_lenslike/act_dr6_lenslike.py index 57981a1..65e8607 100644 --- a/act_dr6_lenslike/act_dr6_lenslike.py +++ b/act_dr6_lenslike/act_dr6_lenslike.py @@ -401,11 +401,11 @@ def get_requirements(self): return ret def logp(self, **params_values): - cl = self.theory.get_Cl(ell_factor=False, units='FIRASmuK2') + cl = self.provider.get_Cl(ell_factor=False, units='FIRASmuK2') return self.loglike(cl, **params_values) def get_limber_clkk(self,**params_values): - Pfunc = self.theory.get_Pk_interpolator(var_pair=("Weyl", "Weyl"), nonlinear=True, extrap_kmax=30.) + Pfunc = self.provider.get_Pk_interpolator(var_pair=("Weyl", "Weyl"), nonlinear=True, extrap_kmax=30.) results = self.provider.get_CAMBdata() return get_limber_clkk_flat_universe(results,Pfunc,self.trim_lmax,self.kmax,nz,zstar=None) @@ -413,7 +413,7 @@ def loglike(self, cl, **params_values): ell = cl['ell'] Alens = 1 if self.varying_cmb_alens: - Alens = self.theory.get_param('Alens') + Alens = self.provider.get_param('Alens') clpp = cl['pp'] / Alens if self.limber: cl_kk = self.get_limber_clkk( **params_values)