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

Resolution analysis: set d_min=None if interpolation error #1378

Merged
merged 4 commits into from
Aug 24, 2020

Conversation

rjgildea
Copy link
Contributor

If the fitted curve doesn't intersect with the desired limit, then
the previous behaviour defaulted to setting d_min as the high
resolution limit extent of the input data. In some cases, this
would lead to all data being used in subsequent analysis. Better
instead to be explicit that we have failed to determine a resolution
estimate and set d_min=None.

Don't override default nbins for resolution analysis

20 bins is insufficient if the true resolution limit of the data
is much lower than the resolution limit to which data were integrated.
Better to stick with the default nbins=100.

If the fitted curve doesn't intersect with the desired limit, then
the previous behaviour defaulted to setting d_min as the high
resolution limit extent of the input data. In some cases, this
would lead to all data being used in subsequent analysis. Better
instead to be explicit that we have failed to determine a resolution
estimate and set d_min=None.
20 bins is insufficient if the true resolution limit of the data
is much lower than the resolution limit to which data were integrated.
Better to stick with the default nbins=100.
@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #1378 into master will increase coverage by 0.00%.
The diff coverage is 78.57%.

@@           Coverage Diff           @@
##           master    #1378   +/-   ##
=======================================
  Coverage   64.60%   64.60%           
=======================================
  Files         616      616           
  Lines       69861    69864    +3     
  Branches     9542     9546    +4     
=======================================
+ Hits        45134    45139    +5     
+ Misses      22953    22952    -1     
+ Partials     1774     1773    -1     

@rjgildea rjgildea merged commit 212b433 into master Aug 24, 2020
@rjgildea rjgildea deleted the resolution_none branch August 24, 2020 09:08
ndevenish pushed a commit that referenced this pull request Aug 24, 2020
* Set d_min=None if interpolation error

If the fitted curve doesn't intersect with the desired limit, then
the previous behaviour defaulted to setting d_min as the high
resolution limit extent of the input data. In some cases, this
would lead to all data being used in subsequent analysis. Better
instead to be explicit that we have failed to determine a resolution
estimate and set d_min=None.

* Don't override default nbins for resolution analysis

20 bins is insufficient if the true resolution limit of the data
is much lower than the resolution limit to which data were integrated.
Better to stick with the default nbins=100.

* Scaling fix for CC½ fit returning None
@ndevenish ndevenish mentioned this pull request Sep 1, 2020
ndevenish added a commit that referenced this pull request Sep 1, 2020
- ``dials.scale``: Prevent discarding of resolution limits in rare cases, which could cause incorrect symmetry determination, and worse results. (#1378)
- ``dials.cosym``: filter out experiments with inconsistent unit cells (#1380)
- Internally slicing experiments now works if image range doesn't start at 1 (#1383)
- Restore missing I/sigma(I) resolution estimate log output (#1384)
- ``dials.image_viewer``: "Save As" button now works, for single panels
- Fix developer ``libtbx.precommit`` installation error (#1375
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.

None yet

1 participant