-
Notifications
You must be signed in to change notification settings - Fork 40
Add support to HWP in beam convolution #552
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
Conversation
|
Fix the divergent history of #534 |
e6914f8 to
e70f6f0
Compare
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.
Just a couple of small tweaks, but otherwise looks good
cmake.sh
Outdated
| @@ -0,0 +1 @@ | |||
| cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX | |||
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.
Was this script accidentally committed? If you have a specific set of cmake options needed for a system, feel free to add a script to the platforms directory. We could consider adding a default.sh script or similar.
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.
Oops! Removed the unnecessary file.
src/toast/ops/conviqt.py
Outdated
|
|
||
| theta, phi, psi, psi_pol = self.get_pointing(data, det, verbose) | ||
| np.savez(f'{self.det_data}_{det}.npz', psi=psi, psi_pol=psi_pol, | ||
| theta=theta, phi=phi) |
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.
Could we guard this debug dumping by a line like:
# (assuming that Environment was imported at the top of the file)
env = Environment.get()
if env.log_level == "VERBOSE":
np.savez(...)
or use some other internal verbose settting in the class.
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.
That is a leftover debugging statement. Now removed.
| print("libconviqt not available, skipping tests") | ||
| return | ||
|
|
||
| # Create a fake scan strategy that hits every pixel once. |
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.
Remove stale comment
| ): | ||
| fail = True | ||
| # Create a fake scan strategy that hits every pixel once. | ||
| # data = create_healpix_ring_satellite(self.comm, nside=self.nside) |
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.
You can remove this, and the 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.
Fixed.
|
Addressed review comments and will merge once the unit tests finish. |
No description provided.