-
Notifications
You must be signed in to change notification settings - Fork 46
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
dials.stills_process performance improvements #1846
Conversation
- Apply a sigma_b cutoff to skip highly mosaic crystals - In Kapton correction, don't test too many faces
One of the performance tweaks here throws out images with sigma b > 0.1 degrees. This is because the kapton correction code churns on these data for images with big unit cells and lots of pixels to integrate with sigma b is large. Here is a histogram of sigma b values from nearly 600K images from a recent XFEL experiment across several different samples. The two peaks come from two different binning sizes of a Rayonix detector. We are close enough to the 0.1 degree cutoff in this PR that I'd rather move it to a phil parameter instead of a hard coded parameter. Maybe profile.gaussian_rs.parameters.sigma_b_cutoff = None? We'd override to 0.1 in dials.stills_process. Problem with this is it would only be checked in dials.stills_process, but the parameter is in a dials.integrate phil scope... Might be ok though? |
(also bugfix: missing parens)
Moved to stills_process-specific phil param. Will merge tomorrow unless there are any comments. Thanks. |
Codecov Report
@@ Coverage Diff @@
## main #1846 +/- ##
==========================================
- Coverage 67.16% 67.15% -0.01%
==========================================
Files 617 617
Lines 69552 69532 -20
Branches 9673 9672 -1
==========================================
- Hits 46712 46695 -17
+ Misses 20895 20894 -1
+ Partials 1945 1943 -2 |
Co-authored-by: Aaron Brewster asbrewster@lbl.gov
Co-authored-by: Asmit Bhowmick abhowmick@lbl.gov