jiangyi15 / tf-pwa

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

Support factor for model using helicity directly #110

Closed jiangyi15 closed 1 year ago

jiangyi15 commented 1 year ago

Similar as cached_amp, but support for helicity_full, helicity_parity model. It use new interface for amplitude factorization: get_factor, get_factor_angle_amp

preprocessor: cached_angle
amp_model: base_factor
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 82.96% and project coverage change: +0.23% :tada:

Comparison is base (fbb3925) 75.93% compared to head (987c055) 76.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #110 +/- ## ========================================== + Coverage 75.93% 76.17% +0.23% ========================================== Files 108 108 Lines 15668 15855 +187 Branches 2946 2971 +25 ========================================== + Hits 11898 12078 +180 - Misses 3073 3081 +8 + Partials 697 696 -1 ``` | [Flag](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110/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/110/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) | `76.17% <82.96%> (+0.23%)` | :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 Changed](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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/amp/preprocess.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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-dGZfcHdhL2FtcC9wcmVwcm9jZXNzLnB5) | `88.13% <60.00%> (-4.10%)` | :arrow_down: | | [tf\_pwa/amp/core.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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-dGZfcHdhL2FtcC9jb3JlLnB5) | `76.40% <81.98%> (+0.67%)` | :arrow_up: | | [tf\_pwa/variable.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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) | `59.41% <84.21%> (+2.20%)` | :arrow_up: | | [tf\_pwa/amp/base.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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-dGZfcHdhL2FtcC9iYXNlLnB5) | `65.42% <84.31%> (+1.95%)` | :arrow_up: | | [tf\_pwa/amp/amp.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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-dGZfcHdhL2FtcC9hbXAucHk=) | `84.68% <92.59%> (+1.02%)` | :arrow_up: | | [tf\_pwa/tests/test\_full.py](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110?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-dGZfcHdhL3Rlc3RzL3Rlc3RfZnVsbC5weQ==) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/jiangyi15/tf-pwa/pull/110/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.