From d95627d2cbe320703d4753001315a2da291074cb Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Sat, 21 Nov 2026 21:19:07 +0100 Subject: [PATCH] Log "not measured" for an unmeasured strong-reflection ISa asymptote The error-model log printed "strong-reflection asymptote 0.0" where the asymptote was not measured at all (fewer than one tier of strong groups with enough observations, or the minimum-b guard). Zero is the "not measured" value, so the log now says so. Log only: the reported ISa and everything else are unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HVeDQpv3w9JdZswRqKUW2H --- image_analysis/scale_merge/RotationScaleMerge.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/image_analysis/scale_merge/RotationScaleMerge.cpp b/image_analysis/scale_merge/RotationScaleMerge.cpp index 731e96cbe..0e2d67f1d 100644 --- a/image_analysis/scale_merge/RotationScaleMerge.cpp +++ b/image_analysis/scale_merge/RotationScaleMerge.cpp @@ -6629,10 +6629,14 @@ RotationScaleMerge::Result RotationScaleMerge::MergeAndStats(int n_groups, bool // Neither the asymptote nor the chi2 median was measured on this merge, so neither is // reported for it. logger->Info("Error model (XDS convention): a={:.3f} b={:.3e} ISa={:.1f}", em.a, em.b, em.isa); - else + else if (result.isa_asymptotic > 0.0) logger->Info("Error model (XDS convention): a={:.3f} b={:.3e} ISa={:.1f} " "(strong-reflection asymptote {:.1f}) chi2={:.2f}", em.a, em.b, em.isa, result.isa_asymptotic, error_model_chi2); + else + logger->Info("Error model (XDS convention): a={:.3f} b={:.3e} ISa={:.1f} " + "(strong-reflection asymptote not measured) chi2={:.2f}", + em.a, em.b, em.isa, error_model_chi2); } // R-free flags and French-Wilson amplitudes are fields of the WRITTEN reflection, so a merge that