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
I ran across this when looking at the basis calculated for a square aperture:
This appears to be the result of using the wrong formula for the center of the array when calculating the padding for the aperture. The expression
padding = ( int(ceil((max_extent - shape[0] / 2.))), int(ceil((max_extent - shape[1] / 2.))) )
should be
padding = ( int(ceil((max_extent - (shape[0] - 1) / 2.))), int(ceil((max_extent - (shape[1] - 1) / 2.))) )
@mperrin pointed this error out when I submitted this code originally, and I thought I'd fixed this everywhere, but I apparently overlooked this one.
Opening a PR with the fix!
The text was updated successfully, but these errors were encountered:
Fixed in #241.
Sorry, something went wrong.
No branches or pull requests
I ran across this when looking at the basis calculated for a square aperture:
This appears to be the result of using the wrong formula for the center of the array when calculating the padding for the aperture. The expression
should be
@mperrin pointed this error out when I submitted this code originally, and I thought I'd fixed this everywhere, but I apparently overlooked this one.
Opening a PR with the fix!
The text was updated successfully, but these errors were encountered: