Skip to content
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

pixels_healpix() does not work with shared_flags=None #581

Closed
keskitalo opened this issue Jul 20, 2022 · 1 comment
Closed

pixels_healpix() does not work with shared_flags=None #581

keskitalo opened this issue Jul 20, 2022 · 1 comment
Labels

Comments

@keskitalo
Copy link
Member

In the toast3 branch, Healpix pixel numbers are expanded with operator PixelsHealpix. It in turn calls a pybind11 wrapper called pixels_healpix.

pixels_healpix expects a py::buffer argument called shared_flags. PixelsHealpix will pass None for that argument, unless self.detector_pointing.shared_flags is set. This causes the call to fail.

@keskitalo
Copy link
Member Author

Fixed in #586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant