-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add 4pi beam convolution #338
base: master
Are you sure you want to change the base?
Conversation
I must say that some of the pre-commit hooks are driving me quite crazy ... from .beam_convolution import (
add_convolved_sky_to_observations,
) This is what I'm trying to do:
So I have the mentioned changes in my tree.
If I now look at the status, all changes are gone!
As you can see, the pre-commit hooks somehow remove my changes from |
Hi @mreineck, I can help in the high level integration. I can work on this branch and prepare a coherent |
Thank you so much, @paganol, this is a great relief for me! Concerning the precommit hook, I managed to get the crucial information of of
So I need to add the new function to |
I wonder whether we should merge #337 wit this PR, then we can add the signal modulation by the HWP as well (optionally, of course!). The only additional required quantity for this is the time-dependent HWP angle. |
I know that the PR doesn't look like much, but apart from obtaining the missing input data (which, I admit, may be complicated to achieve!), it is pretty much complete. All the numerical details are handled by |
Thank you, @paganol, your interfacing work looks great to me! |
Hi @mreineck, sorry I forgot to update the error messages! No deeper connection 😅... Of course if we find better names for the lower level functions we can change them. About merging the PRs, I totally agree with you. |
Stupid question: is there a place in |
Would |
No, that's perfectly fine, thanks for pointing this out! |
Thanks for te tip, I'll fix this! |
This aims to add 4pi convolution with non-axisymmetric beams (very similar to the "conviqt" functionality in TOAST, but more accurate and hopefully also quicker).
Currently this cannot be fully implemented because the code requires
It should be possible to load the beams from files for testing purposes, using
healpy.read_alm
, but I'm not sure how to provide the corresponding file names in the input parameters and how they would be passed to the beam convolution module.Unfortunately I'm not very familiar with the simulation framework and the really large set of tools it uses. I'm happy to help tweaking and debugging the underlying algorithms, but I need help from experts with the high-level integration.