From 6fc92b6b7c2b2ff8ac56dac019dfaf55422a9604 Mon Sep 17 00:00:00 2001 From: carlosggarcia Date: Fri, 22 Nov 2024 16:53:41 +0000 Subject: [PATCH] cNG: multiply biases 234h terms only --- tjpcov/covariance_fourier_cNG.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tjpcov/covariance_fourier_cNG.py b/tjpcov/covariance_fourier_cNG.py index 6bb0f666..98b1bebc 100644 --- a/tjpcov/covariance_fourier_cNG.py +++ b/tjpcov/covariance_fourier_cNG.py @@ -135,18 +135,16 @@ def get_covariance_block( tkk += ccl.halos.halomod_trispectrum_3h(cosmo, hmc, np.exp(lk_arr), a_arr, prof=nfw) - # tkk *= bias1 * bias2 * bias3 * bias4 tkk += ccl.halos.halomod_trispectrum_4h(cosmo, hmc, np.exp(lk_arr), a_arr, prof=nfw) + tkk *= bias1 * bias2 * bias3 * bias4 # TODO: Use HOD for the 1h term when using galaxy clustering tkk += ccl.halos.halomod_trispectrum_1h(cosmo, hmc, np.exp(lk_arr), a_arr, prof=nfw) - tkk *= bias1 * bias2 * bias3 * bias4 - s = self.io.get_sacc_file() isnc = [] for i in range(1, 5):