From f29265f5006c95af5bd3eb0d7553ec4d87c6bc63 Mon Sep 17 00:00:00 2001 From: Javier Sanchez Date: Mon, 16 Oct 2023 11:28:07 -0400 Subject: [PATCH] ignoring tjpcov --- augur/utils/cov_utils.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/augur/utils/cov_utils.py b/augur/utils/cov_utils.py index dad48c0..a123d54 100644 --- a/augur/utils/cov_utils.py +++ b/augur/utils/cov_utils.py @@ -1,6 +1,6 @@ import numpy as np import pyccl as ccl -from tjpcov.covariance_gaussian_fsky import FourierGaussianFsky +# from tjpcov.covariance_gaussian_fsky import FourierGaussianFsky def get_noise_power(config, S, tracer_name, return_ndens=False): @@ -193,20 +193,20 @@ def get_SRD_cov(config, S): return cov_sacc_all -class TJPCovGaus(FourierGaussianFsky): - """ - Class to patch FourierGaussianFsky to work with Augur - """ - def __init__(self, config): - super().__init__(config) - self.tracer_Noise = self.tracer_Noise_coupled - - def get_binning_info(self): - ell_eff = self.get_ell_eff() - if 'ell_edges' in self.config['tjpcov']['binning_info'].keys(): - ell_edges = self.config['tjpcov']['binning_info']['ell_edges'] - ell_min = np.min(ell_edges) - ell_max = np.max(ell_edges) - nbpw = ell_max - ell_min - ell = np.linspace(ell_min, ell_max, nbpw+1).astype(np.int32) - return ell, ell_eff, ell_edges +# class TJPCovGaus(FourierGaussianFsky): +# """ +# Class to patch FourierGaussianFsky to work with Augur +# """ +# def __init__(self, config): +# super().__init__(config) +# self.tracer_Noise = self.tracer_Noise_coupled + +# def get_binning_info(self): +# ell_eff = self.get_ell_eff() +# if 'ell_edges' in self.config['tjpcov']['binning_info'].keys(): +# ell_edges = self.config['tjpcov']['binning_info']['ell_edges'] +# ell_min = np.min(ell_edges) +# ell_max = np.max(ell_edges) +# nbpw = ell_max - ell_min +# ell = np.linspace(ell_min, ell_max, nbpw+1).astype(np.int32) +# return ell, ell_eff, ell_edges