We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This gives NotImplementedError:
NotImplementedError
>>> rect_region.to_mask(mode='exact')
.../regions/shapes/rectangle.py in to_mask(self, mode, subpixels) 159 use_exact = 1 160 --> 161 fraction = rectangular_overlap_grid(xmin, xmax, ymin, ymax, nx, ny, 162 self.width, self.height, 163 self.angle.to(u.rad).value, .../regions/_geometry/rectangular_overlap.pyx in regions._geometry.rectangular_overlap.rectangular_overlap_grid() NotImplementedError: Exact mode has not been implemented for rectangular apertures
Workaround from @larrybradley for now:
>>> rect_region.to_mask(mode='subpixels', subpixels=32)
The text was updated successfully, but these errors were encountered:
Issue 404... 😆 😬
Sorry, something went wrong.
No branches or pull requests
This gives
NotImplementedError
:Workaround from @larrybradley for now:
The text was updated successfully, but these errors were encountered: