-
Notifications
You must be signed in to change notification settings - Fork 26
Projection/Backprojection Adjointedness #1110
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
2af0483 to
92bdd6a
Compare
|
Need to replace the I will migrate the mean est and weighted mean est test files towards fixtures while here, since not much is left of the original tests now anyway... |
|
After considering the Otherwise the mean estimator and weighted volume estimator test files were migrated toward pytest fixtures and then extended to cover the usual product of dtype, even-odd pixels, and the two different preconditioner options. I think the last things left are to resolve this patch for cov3d and self review. |
j-c-c
left a 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.
Looks good!
janden
left a 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.
Looks pretty good. Some minor questions.
On a more general note, should we not have an explicit test that the projection and backprojections are actually adjoints of one another (similar to the type of test that was reported in the issue)?
|
I've added a direct test of the adjoint relationship to |
|
I was able to add a test using the |
|
OKay, added src_backward test. Looks like probably need to live with the scaling factor. Not straightfoward way to scale I added a commit (27d89b4) that changes the interface of |
|
Closes #1109 |
j-c-c
left a 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.
Looks good to me.
need to review that `n` scaling factor
clearer to me, but dont need to take this one
This reverts commit 27d89b4.
|
@janden , reverted the interface change discussed this morning. PR should cover your prior suggestions and be ready for review. Thanks |
janden
left a 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.
Looks great. Thank1
See #1109 .
The following hard coded unit tests would need to be addressed. They are the ones I would expect, no surprises yet. They are all using the
LegacyVolume/_LegacySimulationand I have no issue refactoring them.I'm also wondering if this can resolve the spurious transpose in
estimate.