LSSTDESC / firecrown

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

Two point data #432

Closed vitenti closed 1 month ago

vitenti commented 1 month ago

Add support to include data in the two-point dataclasses. Updated constructors to create TwoPoint objects in the ready state.

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 98.5%. Comparing base (b5544e9) to head (7de5922).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #432 +/- ## ======================================== + Coverage 98.3% 98.5% +0.1% ======================================== Files 47 48 +1 Lines 3356 3667 +311 ======================================== + Hits 3300 3612 +312 + Misses 56 55 -1 ``` | [Files](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?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/inferred\_galaxy\_zdist.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Fgenerators%2Finferred_galaxy_zdist.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2dlbmVyYXRvcnMvaW5mZXJyZWRfZ2FsYXh5X3pkaXN0LnB5) | `100.0% <100.0%> (ø)` | | | [firecrown/likelihood/gaussfamily.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Flikelihood%2Fgaussfamily.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2xpa2VsaWhvb2QvZ2F1c3NmYW1pbHkucHk=) | `99.4% <100.0%> (+<0.1%)` | :arrow_up: | | [firecrown/likelihood/number\_counts.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Flikelihood%2Fnumber_counts.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2xpa2VsaWhvb2QvbnVtYmVyX2NvdW50cy5weQ==) | `91.1% <100.0%> (+0.4%)` | :arrow_up: | | [firecrown/likelihood/two\_point.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?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.3% <100.0%> (+0.8%)` | :arrow_up: | | [firecrown/likelihood/weak\_lensing.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Flikelihood%2Fweak_lensing.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL2xpa2VsaWhvb2Qvd2Vha19sZW5zaW5nLnB5) | `96.2% <100.0%> (+0.2%)` | :arrow_up: | | [firecrown/metadata/two\_point.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Fmetadata%2Ftwo_point.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL21ldGFkYXRhL3R3b19wb2ludC5weQ==) | `100.0% <100.0%> (ø)` | | | [firecrown/metadata/two\_point\_types.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?src=pr&el=tree&filepath=firecrown%2Fmetadata%2Ftwo_point_types.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LSSTDESC#diff-ZmlyZWNyb3duL21ldGFkYXRhL3R3b19wb2ludF90eXBlcy5weQ==) | `100.0% <100.0%> (ø)` | | | [firecrown/utils.py](https://app.codecov.io/gh/LSSTDESC/firecrown/pull/432?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%> (ø)` | |