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
XRayTransform2D
This example demonstrates a case in which scico.linop.xray.XRayTransform2D does not have a properly matched adjoint:
scico.linop.xray.XRayTransform2D
import numpy as np from scico.linop import valid_adjoint from scico.linop.xray import XRayTransform2D N = 256 det_count = int(N * 1.05 / np.sqrt(2.0)) dx = 1.0 / np.sqrt(2) n_projection = 360 angles = np.linspace(0, np.pi, n_projection, endpoint=False) A = XRayTransform2D((N, N), angles, det_count=det_count, dx=dx) print(f"Adjoint test pass: {valid_adjoint(A, A.T, eps=1e-5)}") print(f"Adjoint accuracy: {valid_adjoint(A, A.T, eps=None):.3e}")
The test passes if det_count = N.
det_count = N
It would be worth adding a test for this to the tests for this module!
The text was updated successfully, but these errors were encountered:
Add test for this and for the 3D case.
Sorry, something went wrong.
Closed by #561.
Michael-T-McCann
Successfully merging a pull request may close this issue.
This example demonstrates a case in which
scico.linop.xray.XRayTransform2D
does not have a properly matched adjoint:The test passes if
det_count = N
.It would be worth adding a test for this to the tests for this module!
The text was updated successfully, but these errors were encountered: