Skip to content

Commit

Permalink
Allow more flexible CosmoPower network settings. (#88)
Browse files Browse the repository at this point in the history
* Allow user-specified number of networks.

* Minor mistake in error string formatting.

* Added option for internal ell-factor in network.

* Bugfix.

* Changed which parameters get passed on to network.

* Added Clpp support.

* Generalized CMB unit factor.

* Added parameter requirements for cobaya standard.

* Added general ell factor function and type hinting.

* Added ell_factor docstring.

* Fixed a bug where cobaya would not resume a run due to default argument overwrite.

* Using BoltzmannBase.renames instead of old system.

* Added Derived parameter network.

* Codestyle.

* Added init file change.

* Docstring changes in prep for #37

* Updated pytest.

* Codestyle.

* codestyle fixes

* fixed data location for tests

* fixed test data path

* syntax for py37

* added need to install cosmopower

---------

Co-authored-by: Ian Harrison <[email protected]>
  • Loading branch information
HTJense and itrharrison authored Feb 1, 2023
1 parent 7b0a2e5 commit 3a98c76
Show file tree
Hide file tree
Showing 4 changed files with 361 additions and 82 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install_requires =
mflike @ git+https://github.com/simonsobs/lat_mflike@master

[options.package_data]
soliket = *.yaml,*.bibtex,clusters/data/*,clusters/data/selFn_equD56/*,lensing/data/*.txt,mflike/*.yaml,tests/*.yaml,data/xcorr_simulated/*.txt
soliket = *.yaml,*.bibtex,clusters/data/*,clusters/data/selFn_equD56/*,lensing/data/*.txt,mflike/*.yaml,tests/*.yaml,data/xcorr_simulated/*.txt,data/CosmoPower/CP_paper/CMB/*.pkl
testpaths = "soliket"
text_file_format = rst

Expand Down
2 changes: 1 addition & 1 deletion soliket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .xcorr import XcorrLikelihood # noqa: F401
from .foreground import Foreground
from .bandpass import BandPass
from .cosmopower import CosmoPower
from .cosmopower import CosmoPower, CosmoPowerDerived

try:
from .clusters import ClusterLikelihood # noqa: F401
Expand Down
Loading

0 comments on commit 3a98c76

Please sign in to comment.