jiangyi15 / tf-pwa

Partial Wave Analysis using TensorFlow.
MIT License
27 stars 14 forks source link

feat: weight smear #124

Closed jiangyi15 closed 1 year ago

jiangyi15 commented 1 year ago

Option to load data with smear.

data:
     phsp: ["phsp.dat"]
     phsp_weight_smear: {"name": "Poisson"}

I can be used to study the systematic uncertainties of MC or bootstrap for data.

codecov[bot] commented 1 year ago

Codecov Report

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

Comparison is base (a5456a9) 77.01% compared to head (8b2d1ab) 77.08%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #124 +/- ## ========================================== + Coverage 77.01% 77.08% +0.07% ========================================== Files 111 113 +2 Lines 16456 16502 +46 Branches 3101 3103 +2 ========================================== + Hits 12673 12720 +47 Misses 3074 3074 + Partials 709 708 -1 ``` | [Flag](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29) | `77.08% <100.00%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29) | Coverage Δ | | |---|---|---| | [tf\_pwa/config\_loader/data.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29#diff-dGZfcHdhL2NvbmZpZ19sb2FkZXIvZGF0YS5weQ==) | `65.18% <100.00%> (+0.55%)` | :arrow_up: | | [tf\_pwa/tests/test\_weight\_smear.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29#diff-dGZfcHdhL3Rlc3RzL3Rlc3Rfd2VpZ2h0X3NtZWFyLnB5) | `100.00% <100.00%> (ø)` | | | [tf\_pwa/variable.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29#diff-dGZfcHdhL3ZhcmlhYmxlLnB5) | `62.00% <100.00%> (ø)` | | | [tf\_pwa/weight\_smear.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29#diff-dGZfcHdhL3dlaWdodF9zbWVhci5weQ==) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/124/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jiang+Yi+%28%E8%92%8B%E8%89%BA%29)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.