-
Notifications
You must be signed in to change notification settings - Fork 15
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
Galactic coordinates in scan map #164
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.
It looks good! I have annotated a few changes to improve the clarity and robustness of the code.
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.
It looks great to me! The last thing that is still missing is to export the ECL_TO_GAL_ROT_MATRIX
and CoordinateSystem
symbols in litebird_sim/init.py
, under the section for file coordinates.py
, then it's ready to be merged.
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.
Perfect, thanks! You can add a reference to this PR in the CHANGELOG and merge everything to master
. We'll probably need to release a new version of the framework at that point.
This PR addresses issue #137. I included the pointing rotation in the
scan_map
function and, I added some new functions in coordinates.py, they are mostly adapted from rotator.py of healpy.