-
Notifications
You must be signed in to change notification settings - Fork 39
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
Support passing None for HWP angles to pointing matrix calculation. #345
Conversation
@@ -33,7 +33,7 @@ class OpPointingHpix(Operator): | |||
the total response is: | |||
|
|||
.. math:: | |||
d = cal \\left[\\frac{(1+eps)}{2} I + \\frac{(1-eps)}{2} \\left[Q \\cos{4(a+w)} + U \\sin{4(a+w)}\\right]\\right] | |||
d = cal \\left[\\frac{(1+eps)}{2} I + \\frac{(1-eps)}{2} \\left[Q \\cos{2a+4w} + U \\sin{2a+4w}\\right]\\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.
@giuspugl Is this definition of the pointing weights consistent with what Davide used for the LB simulations?
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.
Looks good. Please review the suggestions and merge away.
I added the check for the buffer length, and explicit reset of |
Great! |
Rather than always passing an array of zeros if there is no HWP, support passing None value to the underlying C++ code. Fix an error in the docstring. Add a unit test to verify that no HWP and HWP angles of all zero give matching results.
43c2cf9
to
1ed3503
Compare
This has been rebased after #341. Merging now. |
Rather than always passing an array of zeros if there is no HWP,
support passing None value to the underlying C++ code. Fix an
error in the docstring. Add a unit test to verify that no HWP
and HWP angles of all zero give matching results.
We should rebase this after #343 is merged.