LSSTDESC / firecrown

DESC Cosmology Likelihood Framework
BSD 3-Clause "New" or "Revised" License
30 stars 7 forks source link

Refactor twopoint #451

Closed marcpaterno closed 1 month ago

marcpaterno commented 2 months ago

This PR will refactor the statistic class TwoPoint to introduce a instance variable TwoPointModel, with the TwoPointModel handling everything to do with theory calculations.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.6%. Comparing base (1ec56d9) to head (f2141e6). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #451 +/- ## ====================================== Coverage 98.6% 98.6% ====================================== Files 52 53 +1 Lines 3888 3924 +36 ====================================== + Hits 3834 3870 +36 Misses 54 54 ``` | [Files with missing lines](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/451?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC) | Coverage Δ | | |---|---|---| | [firecrown/generators/two\_point.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/451?src=pr&el=tree&filepath=firecrown%2Fgenerators%2Ftwo_point.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2dlbmVyYXRvcnMvdHdvX3BvaW50LnB5) | `100.0% <100.0%> (ø)` | | | [firecrown/likelihood/source\_factories.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/451?src=pr&el=tree&filepath=firecrown%2Flikelihood%2Fsource_factories.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2xpa2VsaWhvb2Qvc291cmNlX2ZhY3Rvcmllcy5weQ==) | `100.0% <100.0%> (ø)` | | | [firecrown/likelihood/two\_point.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/451?src=pr&el=tree&filepath=firecrown%2Flikelihood%2Ftwo_point.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2xpa2VsaWhvb2QvdHdvX3BvaW50LnB5) | `98.5% <100.0%> (-0.3%)` | :arrow_down: | | [firecrown/utils.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/451?src=pr&el=tree&filepath=firecrown%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL3V0aWxzLnB5) | `100.0% <100.0%> (ø)` | |