ColmTalbot / gwpopulation

CPU/GPU agnostic gravitational-wave population inference
https://colmtalbot.github.io/gwpopulation/
MIT License
31 stars 46 forks source link

Interpolated mass distribtuion #77

Closed ColmTalbot closed 9 months ago

ColmTalbot commented 9 months ago

This PR adds the spline modulated power law distribution from https://arxiv.org/abs/2109.06137

codecov-commenter commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b1a4cf5) 90.84% compared to head (6558b3b) 94.93%.

Files Patch % Lines
gwpopulation/models/interped.py 85.71% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #77 +/- ## ========================================== + Coverage 90.84% 94.93% +4.09% ========================================== Files 11 11 Lines 753 789 +36 ========================================== + Hits 684 749 +65 + Misses 69 40 -29 ``` | [Flag](https://app.codecov.io/gh/ColmTalbot/gwpopulation/pull/77/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Colm+Talbot) | Coverage Δ | | |---|---|---| | [python3.10](https://app.codecov.io/gh/ColmTalbot/gwpopulation/pull/77/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Colm+Talbot) | `94.80% <97.83%> (+4.10%)` | :arrow_up: | | [python3.11](https://app.codecov.io/gh/ColmTalbot/gwpopulation/pull/77/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Colm+Talbot) | `?` | | | [python3.9](https://app.codecov.io/gh/ColmTalbot/gwpopulation/pull/77/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Colm+Talbot) | `94.80% <97.83%> (+4.11%)` | :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=Colm+Talbot#carryforward-flags-in-the-pull-request-comment) to find out more.

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