-
Notifications
You must be signed in to change notification settings - Fork 26
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
fixes #236 #239
fixes #236 #239
Conversation
@jadball : the index function which is at the end of indexing.py could be altered but I think that is a different story. The code in indexing.py is based on minpks + hkl_tol and we seem to need something else. |
Slight changes to sort out the index function. Also ran "black" to cleanup. So the diff is ruined. |
Found the new function at the bottom of the diff. Finally, we need a way to be able to exclude rings from the |
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.
Added comment above
I'm happy to do this tomorrow if you agree :) |
Do you have an example where a double loop (N^2) gives a better answer than We could also look at a smooth function like
This is issue #5. I tried to fix the omega ranges this thing because a lot of scans were not 180 degrees in the past. But we also have partial rings on detector corners, systematic absences, detector gaps and so on. This code should index those inorganic crystals without chopping the data range (minpks is easy, but completeness is a hard problem). In practice, I usually index something and see how many peaks I am getting and then scale compared to that.
There is also code in I will send a pull that updates to take a list of rings. Probably we need some tests to pin down the finer points? |
There should be examples to run on in test/demo/eu3.gve, test/ken_simul/simAl.gve, also test/simul_1000_grains existing already. There are also generators for unknown cells for index_unknown.py
Related : test_score_gvec_z.py is the function that was intended to replace drlv for peak position mis-match. |
Tomorrow I will write a notebook that tests tolerance loops and a smooth function. We should also think about writing tests/profiling from the simulated data:
|
@jonwright I think we can merge this now and I'll open issues tomorrow for additions to the index function and testing it |
Thanks - I just remembered there is also 'grid_index_parallel' for box beam. |
No description provided.