-
Notifications
You must be signed in to change notification settings - Fork 7
[FEAT] Move numerical test and adapt to diverged functions #45
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
base: main
Are you sure you want to change the base?
[FEAT] Move numerical test and adapt to diverged functions #45
Conversation
| log_likelihood_msdw = ill_kernel( | ||
| Iss, | ||
| n_pixels_phys, | ||
| images.phys_grid.n_pixels_total, |
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.
request n_pixels_total only when likelihood is requested
| Iyy_msdw, | ||
| Ixy_msdw | ||
| ) | ||
| log_likelihood_ms = torch.logsumexp(log_likelihood_msdw, dim = (2, 3)) |
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.
marginalize from msdw to ms outside of ill_kernel to give access to log_likelihood_msdw
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.
numerical likelihood test
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.
maybe I should use the new refactored cross_correlation_fixtures... either way works
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.
might be easier to use my version of the fixtures (I did some refactoring for clarity)
|
Tests work and ready for review |
Relocate a numerical test and modify it to accommodate changes in function definitions.