From 73d9e1de39cfb8b6a29d5a86258df52278ceae85 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Tue, 30 Jun 2026 21:09:18 +0200 Subject: [PATCH] ice rings: widen the exclusion band to 0.03 q (measured ring FWHM) The hexagonal-ice ring FWHM measured on JUNGFRAU data (azimuthal radial background profile) is ~0.06 q, so the exclusion half-width should be ~0.03; the previous 0.02 under-covered the strong low-res rings. On EP0117 with --detect-ice-rings this lifts CC1/2 37->50%, and combined with --reject-outliers 3 (which down-weights the radiation-damaged late frames) reaches ~94% (XDS 98.5%). Only active with --detect-ice-rings, so default behaviour is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- image_analysis/spot_finding/SpotFindingSettings.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/image_analysis/spot_finding/SpotFindingSettings.h b/image_analysis/spot_finding/SpotFindingSettings.h index cf626254..126d6442 100644 --- a/image_analysis/spot_finding/SpotFindingSettings.h +++ b/image_analysis/spot_finding/SpotFindingSettings.h @@ -17,7 +17,9 @@ struct SpotFindingSettings { float cutoff_spot_count_low_res = 5.0; std::optional high_res_gap_Q_recipA = 1.5; // 0.25 * 2 * pi - float ice_ring_width_Q_recipA = 0.02; + // Half-width of the ice-ring exclusion band in q (2*pi/d). Measured hexagonal-ice ring FWHM on the + // JUNGFRAU is ~0.06 q, so the band half-width is ~0.03; 0.02 under-covered the strong low-res rings. + float ice_ring_width_Q_recipA = 0.03; bool indexing = true; bool quick_integration = true;