aboutsummaryrefslogtreecommitdiff
path: root/data/crystfel-load-data.png
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-07-29 15:00:32 +0200
committerThomas White <taw@physics.org>2024-07-29 15:00:32 +0200
commit66a5efece6c2c219af873f1522dd4a82003bf6b9 (patch)
tree4d3f12aa07504103d68521bd3f21850b8e053a72 /data/crystfel-load-data.png
parent274b61d5b8489fc9348aa4cf9f773a3473e24dee (diff)
Catch NaNs in ggpm modelHEADmaster
Previously, these NaNs would result in very many reflections being predicted with meaningless partiality when the profile radius was zero. This would take a long time (~30 seconds) and hold up the processing of other patterns. A zero radius is sometimes returned by the auto profile radius calculation, which is a separate problem. Now, the model simply doesn't predict any reflections and returns very quickly. It feels strange to not have any predictions in this case, but the model is actually giving the expected answer, because the overlap integral is always zero when the profile radius is zero. Therefore there can be no intensity in the peak and hence no prediction. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/109
Diffstat (limited to 'data/crystfel-load-data.png')
0 files changed, 0 insertions, 0 deletions