Repository navigation
Ln redshift models - #149
Merged
Merged
Conversation
\Lambda in the non-raw docstring is an invalid escape sequence, which raises a SyntaxWarning when the module is compiled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
_Redshift gains ln_prob, ln_differential_spacetime_volume and ln_psi_of_z, which defaults to the log of psi_of_z so subclasses keep working; PowerLawRedshift and MadauDickinsonRedshift implement ln_psi_of_z with log1p and logaddexp. The normalization is unchanged. CosmoModel uses these through hyperpe.Model. With this, every model in gwpopulation.models provides its log density, and the models documentation says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ColmTalbot
added this pull request to stack #147
October 23, 2026 18:04
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ln-smoothed-models #149 +/- ##
======================================================
- Coverage 95.61% 95.61% -0.00%
======================================================
Files 14 14
Lines 1230 1252 +22
======================================================
+ Hits 1176 1197 +21
- Misses 54 55 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Require Python >= 3.11 and stop testing 3.10 in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.