def th(self, pars): return get_theory(p, self.d, cosmo, hm_correction=hm_correction, selection=sel, **pars)
def _th(self, pars): return get_theory(self.p, self.d, self.cosmo, hm_correction=self.hm_correction, selection=self.sel, **pars)
def th(pars, d): return get_theory(p, d, cosmo, hm_correction=hm_correction, selection=None, **pars)
def th(pars): return get_theory(p, d, cosmo, return_separated=False, hm_correction=hm_correction, selection=sel, **pars)
def th(kwargs): """Theory for free cosmology.""" cosmo_use = p.get_cosmo(pars=kwargs) # optimized internally return get_theory(p, d, cosmo_use, hmc, hm_correction=hm_correction, **kwargs)
def th2h(self, pars): return get_theory(p, self.d, cosmo, hm_correction=hm_correction, selection=sel, include_2h=True, include_1h=False, **pars)
def th(pars,d): if not cosmo_vary: cosmo_fid = cosmo hmc_fid = hmc else: cosmo_fid = COSMO_ARGS(kwargs) hmc_fid = get_hmcalc(cosmo_fid, **kwargs) return get_theory(p, d, cosmo_fid, hmc_fid, hm_correction=hm_correction, selection=None,**pars)
def th2h(pars): return get_theory(p, d, cosmo, return_separated=False, hm_correction=hm_correction, selection=sel, include_2h=True, include_1h=False, **pars)
def th2h(pars): if not cosmo_vary: pars_fid = pars cosmo_fid = cosmo hmc_fid = hmc else: pars_fid = {**p.get_cosmo_pars(), **pars} cosmo_fid = COSMO_ARGS(pars_fid) hmc_fid = get_hmcalc(cosmo_fid, **pars_fid) return get_theory(p, d, cosmo_fid, hmc_fid, return_separated=False, hm_correction=None, include_1h=False, include_2h=True, **pars_fid)
def th2h(self, pars): if not cosmo_vary: cosmo_fid = cosmo hmc_fid = hmc else: cosmo_fid = COSMO_ARGS(kwargs) hmc_fid = get_hmcalc(cosmo_fid, **kwargs) return get_theory(p, self.d, cosmo_fid, hmc_fid, hm_correction=hm_correction, selection=sel, include_2h=True, include_1h=False, **pars)
def _th(self, pars): if self.cosmo_vary: cosmo = COSMO_ARGS(pars) else: cosmo = self.cosmo return get_theory(self.p, self.d, cosmo, self.hmc, **pars)