-
Notifications
You must be signed in to change notification settings - Fork 69
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
LPT NL PT #1097
LPT NL PT #1097
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @anicola ! Just a few comments. In the meantime I'll start looking at the tests.
FYI, I removed the heft_aemulus import, since I think it was a leftover and I wanted to see if tests pass. Bring it back if it was intentional! |
Pull Request Test Coverage Report for Build 5519362457
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
||
|
||
@pytest.mark.parametrize('kind', ['m:m', 'm:b2', 'm:b3nl', 'm:bs', | ||
'b1:b3nl', 'b3nl:b3nl', 'b3nl:bk2']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: you only added these because testing all combinations takes a bit too long, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's OK, btw, just wanted to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's the thing driving the coverage. The problem is the 1, delta_L split in LPT. Because of that you can't isolate the bias terms as you can in EPT. I think these are the only ones that work.
This PR implements LPT in the nl_pt modules. This mostly follows the implementation for EPT, but I have included a bunch of additional terms for b_nabla2, and also the template function is a bit different due to the presence of the 1 and delta_L terms. I can change that though if we want full consistency.