Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISW #861

Merged
merged 7 commits into from
Oct 20, 2021
Merged

ISW #861

merged 7 commits into from
Oct 20, 2021

Conversation

damonge
Copy link
Collaborator

@damonge damonge commented Feb 24, 2021

Implements an ISW tracer.

@coveralls
Copy link

coveralls commented Feb 24, 2021

Pull Request Test Coverage Report for Build 919220562

  • 12 of 12 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 96.781%

Totals Coverage Status
Change from base Build 918154459: 0.01%
Covered Lines: 3788
Relevant Lines: 3914

💛 - Coveralls

@c-d-leonard
Copy link
Collaborator

@damonge is this ready for review? missing benchmarks?

@damonge
Copy link
Collaborator Author

damonge commented Jun 7, 2021

Ready for review @c-d-leonard

@c-d-leonard
Copy link
Collaborator

I will either review this or find someone to review it tomorrow.

@damonge
Copy link
Collaborator Author

damonge commented Jun 7, 2021

There is no rush. FYI, I couldn't find a proper implementation of this in CLASS (it'd be mixed up with a bunch of other low-redshift effects), so I implemented my own alternative version in python for a benchmark... Open to criticism on that front

Copy link
Collaborator

@c-d-leonard c-d-leonard left a comment

Choose a reason for hiding this comment

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

This looks good to me. My only hesitation is the benchmark like you said. I think if we can it would be good to at least have someone else code it up just in case you made the same silly error twice. I'm happy to do it - it looks like it should be pretty straightforward? Or we can see if anyone else is keen or has their own code lying around. I'll check on the channel.

@c-d-leonard
Copy link
Collaborator

Also when I run the tests locally I'm getting a failure on test_nonlin_camb_power to do with the keyword 'mead2020'. I updated my camb but still there - are you seeing that?

@damonge
Copy link
Collaborator Author

damonge commented Jun 8, 2021

Nope, but it seems to run fine on gha

@c-d-leonard
Copy link
Collaborator

@pennalima Do I remember right that you said numcosmo can calculate the ISW power spectrum for a benchmark here? What we're looking for is equation 6 in 1710.03238.

@damonge
Copy link
Collaborator Author

damonge commented Oct 19, 2021

@c-d-leonard @pennalima since this is taking a while, how about merging this (if the code looks ok) and adding "add external ISW benchmark" to #832 ?

@pennalima
Copy link
Contributor

Hi @damonge and @c-d-leonard , I am working to complete this task by the end of the week.
Before merging, I am confused about CCL implementation. The CMB temperature appears in the ISW kernel, but this is not the case in eq. 6 1710.03238. I am going to check if there are differences between this paper and what CCL computes.

@damonge
Copy link
Collaborator Author

damonge commented Oct 20, 2021

@pennalima this is just a conversion factor. If the TCMB is included it means you're considering the absolute fluctuation in the CMB temperature (Delta T), otherwise you're correlating with the relative fluctuation Delta T/T. Since TCMB is a constant this only changes the overall amplitude of the result (and I think correlating with the absolute fluctuation makes more sense)

@damonge
Copy link
Collaborator Author

damonge commented Oct 20, 2021

OK, merging, and it seems the ISW tracer has been added to the list of "improvable" benchmarks.

@damonge damonge merged commit 0d0ac4b into master Oct 20, 2021
@damonge damonge deleted the ISW branch October 20, 2021 19:41
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.

None yet

4 participants