gh-122: added alpha_s to cloelike - #123
Open
ivansladoljev wants to merge 3 commits into
Open
Conversation
23 tasks
ivansladoljev
force-pushed
the
adding_running_of_ns
branch
2 times, most recently
from
May 12, 2026 10:12
90d36b8 to
54d1c13
Compare
ivansladoljev
force-pushed
the
adding_running_of_ns
branch
from
May 27, 2026 09:37
54d1c13 to
24bbdd2
Compare
Member
|
Hi @ivansladoljev I was coming back to this. Could you solve the conflicts? |
Member
|
@raphkou when @ivansladoljev fixes the conflicts, you can also proceed with this one. |
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.
🚀 Pull Request Checklist
✅ Summary
Adds support for the running of the scalar spectral index (
alpha_s = d n_s / d ln k) inCAMBBackgroundand propagates it through allcloelikelikelihoods.🔄 Changes
EuclidLikelihood_photo_Cls.py,EuclidLikelihood_photo_2pcf.py: added"alpha_s"to the parameter key list forwarded toBackgroundEuclidLikelihood_GCspectro_Pls.py,EuclidLikelihood_BAO.py: addedalpha_s=parameters["alpha_s"]toBackground(...)calls🛠 How to Test
alpha_sdefaults to 0.0 so all existing sampling scripts remain valid without modification. Scripts that want to vary it simply need to includealpha_sin their parameter dictionary and prior.📝 Documentation
🏗 Related Issues
CAMBBackgrounddoes not support running of the spectral index (alpha_s) #122📌 Additional Notes
Complements the similar PR in
cloelib✅ PR Checklist for Developers
pre-commit run --all-files✅ PR Checklist for Reviewers
playgroundwill be updated in a corresponding follow-up PRNo newline at the end of filewarningsREADME.mdfile