-
Notifications
You must be signed in to change notification settings - Fork 24
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
Enable apply_delens=True in CMBLensed #214
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There's a flaw in the notebook that I failed to notice (spectra are not included in the PR). I'll find another approach. |
There was a fast fix without needing external files. |
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 for your contribution, just small fixes
@@ -7,6 +7,7 @@ | |||
- Updated `pixell` from 0.17.3 to 0.26.0 https://github.com/galsci/pysm/pull/183 | |||
- Initial implementation of a point source catalog component emission https://github.com/galsci/pysm/pull/187 | |||
- Switch the build system to Hatch https://github.com/galsci/pysm/pull/189 | |||
- Fix bug in `CMBLensed` preventing use of `apply_delens=True` |
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.
specify it is a shape error,
add link to this pull request
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.
please post the notebook to gist.github.com and link it in the pull request.
Remove it from the pull request.
delensing_ells='pysm_2/delens_ells.txt' | ||
) | ||
except ValueError: | ||
pytest.fail(f"ValueError raised when applying delensing") |
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.
do not use a try except block.
split the test in 2 tests:
test_cmb_lensed_no_delens
test_cmb_lensed_delens
fix:
apply_delens=True
inCMBLensed
previously caused a ValueError ( #213 ).I included a notebook at the top level to avoid import issues. Let me know if you'd like me to move it elsewhere.