Skip to content
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

iterative ref: write tests for iterative_refinement #42

Open
geoffwoollard opened this issue Apr 4, 2022 · 1 comment
Open

iterative ref: write tests for iterative_refinement #42

geoffwoollard opened this issue Apr 4, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@geoffwoollard
Copy link

Some ideas

  • start from simple object:
    • e.g. sphere: No matter how align, the projections will give the right alignment, since they are all the same.
    • have more complicated object, e.g. several constant boxes of ones of length 10-20 in a total size of n_pix=128
    • corrupt initial volume to start with a noisy estimate (e.g. low pass filter by using 3d fft with filter, or add in white noise in 3d)
  • generate slices (e.g. 1000)
  • call iterative_refinement. Not sure what to pick for sigma, so might want to keep an eye on that.
  • check for the following on the returns
    • assert that the half maps are close within some threshold: (half_map_1 * half_map_2).sum()2 / (half_map_12.sum()) * (half_map_2**2).sum()) > 0.99
@geoffwoollard
Copy link
Author

I'll write some code snippets to get you started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant