-
Notifications
You must be signed in to change notification settings - Fork 17
Implementation of h_n maps #473
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
base: master
Are you sure you want to change the base?
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Magwos
left a comment
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.
A very few minor comments for the PR + one additional (although probably not necessary) -> Different conventions are used in the comments, either Args or Parameters, should it be homogenized? (I can propose changes to do so if yes!)
litebird_sim/mapmaking/h_n.py
Outdated
|
|
||
| @dataclass | ||
| class h_map_Re_and_Im: | ||
| """A single h_n,m map component for one detector""" |
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.
Addition of "time split" in the comment?
| """A single h_n,m map component for one detector""" | |
| """A single h_n,m map component for one detector and one time split""" |
litebird_sim/mapmaking/h_n.py
Outdated
| - ``h_maps``: Dictionnary containing the h_n maps for each spin order n,m and each detector. | ||
|
|
||
| - ``coordinate_system``: the coordinate system of the output maps | ||
| (a :class:`.CoordinateSistem` object) |
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.
Little typo (but I see that it is also in the binner object here:
| (a :class:`.CoordinateSistem` object) |
| (a :class:`.CoordinateSistem` object) | |
| (a :class:`.CoordinateSystem` object) |
| pixel in the map. It is an array of shape `(12 * nside * nside, 3, 3)` | ||
|
|
||
| - ``coordinate_system``: the coordinate system of the output maps | ||
| (a :class:`.CoordinateSistem` object) |
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.
Correction of the typo
| (a :class:`.CoordinateSystem` object) |
litebird_sim/mapmaking/h_n.py
Outdated
| if not d_mask[idet]: | ||
| continue | ||
|
|
||
| print(np.shape(pix[idet]), " ", np.shape(hwp_angle)) |
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.
Delete print? (If print to be added to the logs, maybe it would be useful to add as well the detector id)
| print(np.shape(pix[idet]), " ", np.shape(hwp_angle)) |
* [ci skip] warning in slm and blm resize * [ci skip] some light optimization in mueller_convolver * [ci skip] some documentation added
…490) * new logic implemented * [ci skip] some documentation * [ci skip] change name of the default from standard to toast * [ci skip] documentation updated * [ci skip] fixed warning in the documentation and CHANGELOG updated * [ci skip] update changelog
WIP: The goal is to have a module to generates the H_n maps described in https://arxiv.org/abs/2109.05038