Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 1, 2024
1 parent 1fdae7a commit ce56099
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion soliket/bias/bias.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``).
Expand Down
2 changes: 1 addition & 1 deletion soliket/cosmopower/cosmopower.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions soliket/mflike/mflike.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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``
Expand Down
2 changes: 0 additions & 2 deletions soliket/tests/test_mflike.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ce56099

Please sign in to comment.