Skip to content

Conversation

@wtang8
Copy link

@wtang8 wtang8 commented Nov 4, 2025

Relocate a numerical test and modify it to accommodate changes in function definitions.

@wstangfi wstangfi requested a review from jsoules November 4, 2025 22:54
log_likelihood_msdw = ill_kernel(
Iss,
n_pixels_phys,
images.phys_grid.n_pixels_total,
Copy link
Author

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))
Copy link
Collaborator

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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numerical likelihood test

Copy link
Collaborator

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

Copy link
Collaborator

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)

@wstangfi
Copy link
Collaborator

wstangfi commented Nov 5, 2025

Tests work and ready for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants