Skip to content

Arbitrary source planes#76

Open
damonge wants to merge 2 commits intomasterfrom
source_planes
Open

Arbitrary source planes#76
damonge wants to merge 2 commits intomasterfrom
source_planes

Conversation

@damonge
Copy link
Copy Markdown
Owner

@damonge damonge commented Apr 10, 2026

Allows for lensing (and ISW) source planes to lie outside of the box. Line-of-sight integrals will only contain information up to z=z_max (passed in the param file), but the radial kernel will be that of a source plane at the requested distance.

Closes #75

Copy link
Copy Markdown
Contributor

@andreufont andreufont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about the code to validate the changes, but I'm sure you got it right.

@Laura-Casas - could you try running a new box with this branch, before merging?

We can then ask @dljarque to validate the new box.

@dljarque
Copy link
Copy Markdown

Here is the validation for CMB lensing of two CoLoRe boxes run by @Laura-Casas. One prior to the source plane z_s change, and the second one with the new implementation of this pull request. They both seem ok, thanks!

Theory lines are computed with the linear PK from CAMB (matching CoLoRe cosmology) and manually integrating the Limber approximation up to z_cut.

cls_kk_boxes_comparison

@damonge
Copy link
Copy Markdown
Owner Author

damonge commented Apr 24, 2026

Thanks @dljarque ! Any reason why you had to set zs=1090 in one case and 1100 in the other?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to simulate CMB lensing

3 participants