diff --git a/soliket/bias/bias.py b/soliket/bias/bias.py index eab8494f..d113b7b6 100644 --- a/soliket/bias/bias.py +++ b/soliket/bias/bias.py @@ -86,7 +86,7 @@ def get_Pk_gm_grid(self) -> dict: class Linear_bias(Bias): - """ + r""" :Synopsis: Linear bias model. Has one free parameter, :math:`b_\mathrm{lin}` (``b_lin``). diff --git a/soliket/cosmopower/cosmopower.py b/soliket/cosmopower/cosmopower.py index af30750c..a4735d71 100644 --- a/soliket/cosmopower/cosmopower.py +++ b/soliket/cosmopower/cosmopower.py @@ -220,7 +220,7 @@ def get_Cl(self, ell_factor: bool = False, units: str = "FIRASmuK2") -> dict: return cls def ell_factor(self, ls: np.ndarray, spectra: str) -> np.ndarray: - """ + r""" Calculate the ell factor for a specific spectrum. These prefactors are used to convert from Cell to Dell and vice-versa. diff --git a/soliket/mflike/mflike.py b/soliket/mflike/mflike.py index 1591302f..3993c729 100644 --- a/soliket/mflike/mflike.py +++ b/soliket/mflike/mflike.py @@ -115,7 +115,7 @@ def logp(self, **params_values): return self.loglike(cmbfg_dict) def loglike(self, cmbfg_dict): - """ + r""" Computes the gaussian log-likelihood :param cmbfg_dict: the dictionary of theory + foregrounds @@ -215,7 +215,7 @@ def get_cl_meta(spec): return exp_1, exp_2, pols, scls, symm def get_sacc_names(pol, exp_1, exp_2): - """ + r""" Lower-level function of `prepare_data`. Translates the polarization combination and channel name of a given entry in the `spectra` @@ -388,7 +388,7 @@ def get_sacc_names(pol, exp_1, exp_2): self.data = GaussianData("mflike", self.ell_vec, self.data_vec, self.cov) def _get_power_spectra(self, cmbfg): - """ + r""" Get :math:`D_{\ell}` from the theory component already modified by ``theoryforge_MFLike`` diff --git a/soliket/tests/test_mflike.py b/soliket/tests/test_mflike.py index 7baad897..7c416a39 100644 --- a/soliket/tests/test_mflike.py +++ b/soliket/tests/test_mflike.py @@ -7,8 +7,6 @@ import numpy as np import pytest from cobaya.tools import resolve_packages_path -from packaging.version import Version - import soliket from soliket.mflike import TestMFLike